Skip to content

Commit 74b48b8

Browse files
committed
Update SQLite workflow to use locally committed tarball to avoid browser verification issues during wget.
1 parent f9310d5 commit 74b48b8

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tests/SQLite-89e099fb.tar.gz filter=lfs diff=lfs merge=lfs -text

.github/workflows/check_migrations_sqlite.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,23 @@ jobs:
2020
container:
2121
image: python:3.7-buster
2222
steps:
23-
- uses: actions/checkout@v4
2423
- name: Install build dependencies
2524
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
2625
run: |
2726
echo "deb http://archive.debian.org/debian-archive/debian/ buster main" > /etc/apt/sources.list
2827
echo "deb http://archive.debian.org/debian-archive/debian-security/ buster/updates main" >> /etc/apt/sources.list
2928
echo "Acquire::Check-Valid-Until \"false\";" > /etc/apt/apt.conf.d/99archive
3029
apt-get -y -qq update
31-
apt-get install -y build-essential tcl
30+
apt-get install -y build-essential tcl git-lfs
31+
- uses: actions/checkout@v4
32+
with:
33+
lfs: true
3234
- name: Build SQLite 3.25.3
3335
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
3436
run: |
3537
# Following the instructions from https://til.simonwillison.net/sqlite/ld-preload
3638
# to build SQLite from source, using version 3.25.3
37-
wget https://www.sqlite.org/src/tarball/89e099fb/SQLite-89e099fb.tar.gz
38-
tar -xzvf SQLite-89e099fb.tar.gz
39+
tar -xzvf tests/SQLite-89e099fb.tar.gz
3940
cd SQLite-89e099fb
4041
CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE=1" ./configure
4142
make

tests/SQLite-89e099fb.tar.gz

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:645b0ae19827ad5aeba6a324f110b7a54a2d1c4a083d231f24618a2a64a201df
3+
size 10004433

0 commit comments

Comments
 (0)