Skip to content

Commit c3e0ecd

Browse files
committed
chore: combine SQLite steps because of the environment variables
1 parent 5a13405 commit c3e0ecd

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Install required tools
6868
run: sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y tcl
6969

70-
- name: Configure build tools
70+
- name: Configure build tools and compile
7171
run: |
7272
cd thirdparty/sqlite
7373
git apply ../../patches/sqlite_fix_build.patch
@@ -80,20 +80,9 @@ jobs:
8080
export CFLAGS="-DSQLITE_ENABLE_RTREE -DSQLITE_DQS=0 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1 \
8181
-DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MAX_EXPR_DEPTH=0 -DSQLITE_USE_ALLOCA $OPT_FEATURE_FLAGS"
8282
./configure --disable-shared --prefix=$GITHUB_WORKSPACE/dist
83-
84-
- name: Build amalgamation without emscripten
85-
run: |
86-
cd thirdparty/sqlite
83+
# build amalgamation without emscripten
8784
make sqlite3.c
88-
89-
- name: Configure build tools (emscripten)
90-
run: |
91-
cd thirdparty/sqlite
9285
emconfigure ./configure --disable-shared --prefix=$GITHUB_WORKSPACE/dist
93-
94-
- name: Start compilation
95-
run: |
96-
cd thirdparty/sqlite
9786
emmake make install -j$(nproc)
9887
9988
- name: Upload build artifacts

0 commit comments

Comments
 (0)