Skip to content

Commit 6b4f965

Browse files
committed
Add amalgamation step
1 parent 48862c6 commit 6b4f965

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- release
1515

1616
env:
17+
AMALGAMATION: amalgamation
1718
SQLITE_PATH: sqlite3
1819
LIBICU_PATH: icu_precompiled
1920

@@ -79,6 +80,7 @@ jobs:
7980
run: |
8081
New-Item -ItemType Directory -Force -Path ${{ env.SQLITE_PATH }}
8182
New-Item -ItemType Directory -Force -Path ${{ env.LIBICU_PATH }}
83+
New-Item -ItemType Directory -Force -Path ${{ env.AMALGAMATION }}
8284
8385
- name: Download source archive
8486
shell: pwsh
@@ -127,6 +129,15 @@ jobs:
127129
ls -l "${{ env.SQLITE_PATH }}"
128130
python --version
129131
132+
- name: Generate amalgamation
133+
shell: pwsh
134+
working-directory: ${{ env.AMALGAMATION }}
135+
run: |
136+
python ../scripts/amalgamate.py -v yes -c ../scripts/sqlite3mc.c.json -s ../src
137+
python ../scripts/amalgamate.py -v yes -c ../scripts/sqlite3mc.h.json -s ../src
138+
python ../scripts/amalgamate.py -v yes -c ../scripts/shell3mc.c.json -s ../src
139+
dir
140+
130141
build-linux:
131142
runs-on: ubuntu-24.04
132143
env:

0 commit comments

Comments
 (0)