@@ -438,19 +438,6 @@ jobs:
438438 set -euo pipefail
439439 cd sqlite-src
440440 fossil update "${SQLITE_ANDROID_CHECK_IN}"
441- fossil status
442-
443- - name : Verify Fossil repository integrity
444- shell : bash
445- run : |
446- set -euo pipefail
447- cd sqlite-src
448- fossil verify
449-
450- - name : Print checkout info
451- shell : bash
452- run : |
453- cd sqlite-src
454441 fossil info
455442
456443 # -------------------------------------------------
@@ -782,15 +769,55 @@ jobs:
782769 python scripts/build_context.py
783770
784771 # -------------------------------------------------
785- # Clone matching branch of SQLite repository
772+ # Install Fossil
786773 # -------------------------------------------------
787- - name : Checkout SQLite source
774+ - name : Install Fossil
775+ shell : bash
776+ run : |
777+ set -euo pipefail
778+
779+ FOSSIL_VERSION="2.28"
780+
781+ curl -fL --retry 3 --retry-delay 5 -o fossil.tar.gz \
782+ https://www.fossil-scm.org/home/uv/fossil-linux-x64-$FOSSIL_VERSION.tar.gz
783+
784+ tar -xzf fossil.tar.gz
785+ sudo mv fossil /usr/local/bin/
786+ fossil version
787+
788+ - name : Clone SQLite Fossil repo
789+ shell : bash
788790 run : |
789791 set -euo pipefail
790- git clone \
791- --branch version-${SQLITE_VERSION} \
792- --depth 1 \
793- https://github.com/sqlite/sqlite.git
792+ fossil clone https://www.sqlite.org/src sqlite.fossil
793+
794+ - name : Open Fossil repository
795+ shell : bash
796+ run : |
797+ set -euo pipefail
798+ mkdir sqlite
799+ cd sqlite
800+ fossil open ../sqlite.fossil
801+
802+ - name : Checkout selected SQLite version
803+ shell : bash
804+ run : |
805+ set -euo pipefail
806+ cd sqlite
807+ fossil update "version-${SQLITE_VERSION}"
808+ fossil info
809+
810+ - name : Setup git for fossil repo
811+ shell : bash
812+ run : |
813+ set -euo pipefail
814+ cd sqlite
815+ rm -rf .git
816+ git init
817+ git config user.name "github-actions"
818+ git config user.email "github-actions@users.noreply.github.com"
819+ git add -A
820+ git commit -m "SQLite ${SQLITE_VERSION} snapshot"
794821
795822 # -------------------------------------------------
796823 # Set up Emscripten
0 commit comments