File tree Expand file tree Collapse file tree 5 files changed +13
-11
lines changed
Expand file tree Collapse file tree 5 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 7878 name : sqlite-sources
7979 path : src
8080 - name : Compile sources
81- run : bin/compile-mac .sh
81+ run : bin/compile-macos .sh
8282 - name : Upload binaries to release
8383 uses : svenstaro/upload-release-action@v2
8484 with :
Original file line number Diff line number Diff line change 2828 -DSQLITE_INTROSPECTION_PRAGMAS=1 \
2929 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 \
3030 -DSQLITE_OMIT_DEPRECATED=1 \
31- -DSQLITE_THREADSAFE=1 \
31+ -DSQLITE_THREADSAFE=0 \
3232 -DSQLITE_USE_URI=1 \
3333 src/shell.c src/sqlite3.c -o dist/sqlite3-ubuntu \
3434 -ldl -lz -lm -lreadline -lncurses
35- chmod +x dist/sqlite3-ubuntu
35+ chmod +x dist/sqlite3-ubuntu
36+ ls -la dist/
Original file line number Diff line number Diff line change 2828 -DSQLITE_INTROSPECTION_PRAGMAS=1 \
2929 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 \
3030 -DSQLITE_OMIT_DEPRECATED=1 \
31- -DSQLITE_THREADSAFE=1 \
31+ -DSQLITE_THREADSAFE=0 \
3232 -DSQLITE_USE_URI=1 \
33- src/shell.c src/sqlite3.c -o dist/sqlite3-mac \
33+ src/shell.c src/sqlite3.c -o dist/sqlite3-macos \
3434 -ldl -lz -lm -lreadline -lncurses
35- chmod +x dist/sqlite3-mac
35+ chmod +x dist/sqlite3-macos
36+ ls -la dist/
Original file line number Diff line number Diff line change 2828 -DSQLITE_INTROSPECTION_PRAGMAS=1 \
2929 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 \
3030 -DSQLITE_OMIT_DEPRECATED=1 \
31- -DSQLITE_THREADSAFE=1 \
31+ -DSQLITE_THREADSAFE=0 \
3232 -DSQLITE_USE_URI=1 \
3333 -I. src/shell.c src/sqlite3.c -o dist/sqlite3.exe
Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ class Generator extends GenBase {
6767 genMac ( ) {
6868 let path = "bin/compile-mac.sh" ;
6969 this . lines = [ ] ;
70- this . macContent ( ) ;
70+ this . macosContent ( ) ;
7171 fs . writeFileSync ( path , this . content , "utf-8" ) ;
7272 fs . chmodSync ( path , 0o755 ) ;
7373 }
7474
75- macContent ( ) {
75+ macosContent ( ) {
7676 this . push ( "#!/usr/bin/env bash" ) ;
7777 this . push ( "mkdir dist" ) ;
7878 this . push ( "gcc \\" ) ;
@@ -81,11 +81,11 @@ class Generator extends GenBase {
8181 this . push ( `-${ flag } \\` ) ;
8282 } ) ;
8383
84- this . push ( "src/shell.c src/sqlite3.c -o dist/sqlite3-mac \\" ) ;
84+ this . push ( "src/shell.c src/sqlite3.c -o dist/sqlite3-macos \\" ) ;
8585 this . push ( "-ldl -lz -lm -lreadline -lncurses" ) ;
8686 } ) ;
8787
88- this . push ( `chmod +x dist/sqlite3-mac ` ) ;
88+ this . push ( `chmod +x dist/sqlite3-macos ` ) ;
8989 this . push ( "ls -la dist/" ) ;
9090 }
9191
You can’t perform that action at this time.
0 commit comments