Skip to content

Commit 5eeec03

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

3 files changed

Lines changed: 8 additions & 3 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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,22 @@ jobs:
2121
image: python:3.7-buster
2222
steps:
2323
- uses: actions/checkout@v4
24+
with:
25+
lfs: true
2426
- name: Install build dependencies
2527
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
2628
run: |
2729
echo "deb http://archive.debian.org/debian-archive/debian/ buster main" > /etc/apt/sources.list
2830
echo "deb http://archive.debian.org/debian-archive/debian-security/ buster/updates main" >> /etc/apt/sources.list
2931
echo "Acquire::Check-Valid-Until \"false\";" > /etc/apt/apt.conf.d/99archive
3032
apt-get -y -qq update
31-
apt-get install -y build-essential tcl
33+
apt-get install -y build-essential tcl git-lfs
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)