Skip to content

Commit f36b523

Browse files
committed
Add patch step to workflow
1 parent 3373718 commit f36b523

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,21 @@ jobs:
111111
throw "ICU headers missing: $path/include"
112112
}
113113
Write-Host "ICU extraction OK"
114+
python --version
115+
116+
- name: Patch SQLite3 amalgamation
117+
shell: bash
118+
run: |
119+
$sqlite_src = "${{ env.SQLITE_PATH }}/sqlite-amalgamation-{{ env.SQLITE_VERSION_RAW }}/sqlite3.c"
120+
$shell_src = "${{ env.SQLITE_PATH }}/sqlite-amalgamation-{{ env.SQLITE_VERSION_RAW }}/shell.c"
121+
$dest_sqlite = "${{ env.SQLITE_PATH }}/sqlite3patched.c"
122+
$dest_shell = "${{ env.SQLITE_PATH }}/shell.c"
123+
$dest_rekey = "${{ env.SQLITE_PATH }}/rekeyvacuum.c"
124+
./scripts/patchsqlite3.sh $sqlite_src > $dest_sqlite
125+
./scripts/patchshell.sh $shell_src > $dest_shell
126+
./scripts/rekeyvacuum.sh $sqlite_src > $dest_rekey
127+
ls -l "${{ env.SQLITE_PATH }}"
128+
python --version
114129
115130
build-linux:
116131
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)