Skip to content

Commit 1f98eab

Browse files
committed
ci, ledger: Pin Ledger app versions for compatibility
Pin app-bitcoin-new to v2.4.4 (tag stax_1.9.0_2.4.4_sdk_...) since newer versions may be incompatible with Speculos v0.25.10 which is the last version supporting Python 3.9. Use shallow clone (--depth 1) for both Ledger apps to speed up builds.
1 parent 465f1b2 commit 1f98eab

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ledger-app-builder.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ jobs:
1111
build:
1212
name: Build Bitcoin App
1313
runs-on: ${{ inputs.runs-on }}
14-
container: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
14+
# Pin to 4.23.0 for SDK v25.9.0 compatibility with Speculos v0.25.10
15+
container: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:4.23.0
1516
steps:
1617
- run: |
17-
git clone https://github.com/LedgerHQ/app-bitcoin-new.git
18+
# Pin to v2.4.1 - last version that worked with HWI CI (PR #795 merged Sept 2025)
19+
git clone --branch 2.4.1 --depth 1 https://github.com/LedgerHQ/app-bitcoin-new.git
1820
cd app-bitcoin-new
1921
make DEBUG=1 BOLOS_SDK=$NANOX_SDK
2022
- uses: actions/upload-artifact@v4

.github/workflows/ledger-legacy-app-builder.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ jobs:
1111
build:
1212
name: Build Bitcoin Legacy App
1313
runs-on: ${{ inputs.runs-on }}
14-
container: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
14+
# Pin to 4.23.0 for SDK v25.9.0 compatibility with Speculos v0.25.10
15+
container: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:4.23.0
1516
steps:
1617
- run: |
17-
git clone https://github.com/LedgerHQ/app-bitcoin.git -b legacy-1.6.6
18+
# Pin to legacy-1.6.6 HEAD commit for reproducibility
19+
git clone --depth 1 https://github.com/LedgerHQ/app-bitcoin.git -b legacy-1.6.6
1820
cd app-bitcoin
1921
make DEBUG=1 BOLOS_SDK=$NANOSP_SDK
2022
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)