Skip to content

Commit af6ad85

Browse files
committed
Pin SDK to stable point releases (25.12.5 / 24.10.7)
The SDK image tracked the rolling <ver>-SNAPSHOT branch, whose mirror tarballs rotate and occasionally arrive truncated -> sha256 mismatch and a red build. Map the release-line label (matrix.version) to a fixed stable point release for the SDK image only; artifact filenames and the sync_repo.sh label are unchanged.
1 parent ebcf0b2 commit af6ad85

1 file changed

Lines changed: 73 additions & 8 deletions

File tree

‎.github/workflows/openwrt-release.yml‎

Lines changed: 73 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,79 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
include:
37-
# 24.10 (ipk, frozen — do not expand)
38-
- version: openwrt-24.10
39-
target: x86_64
37+
# 24.10 (ipk, all OpenWrt-supported arches)
4038
- version: openwrt-24.10
4139
target: aarch64_cortex-a53
40+
- version: openwrt-24.10
41+
target: aarch64_cortex-a72
42+
- version: openwrt-24.10
43+
target: aarch64_cortex-a76
4244
- version: openwrt-24.10
4345
target: aarch64_generic
46+
- version: openwrt-24.10
47+
target: arm_arm1176jzf-s_vfp
48+
- version: openwrt-24.10
49+
target: arm_arm926ej-s
50+
- version: openwrt-24.10
51+
target: arm_cortex-a15_neon-vfpv4
52+
- version: openwrt-24.10
53+
target: arm_cortex-a5_vfpv4
4454
- version: openwrt-24.10
4555
target: arm_cortex-a7
56+
- version: openwrt-24.10
57+
target: arm_cortex-a7_neon-vfpv4
58+
- version: openwrt-24.10
59+
target: arm_cortex-a7_vfpv4
60+
- version: openwrt-24.10
61+
target: arm_cortex-a8_vfpv3
4662
- version: openwrt-24.10
4763
target: arm_cortex-a9
64+
- version: openwrt-24.10
65+
target: arm_cortex-a9_neon
66+
- version: openwrt-24.10
67+
target: arm_cortex-a9_vfpv3-d16
68+
- version: openwrt-24.10
69+
target: arm_fa526
70+
- version: openwrt-24.10
71+
target: arm_xscale
72+
- version: openwrt-24.10
73+
target: armeb_xscale
74+
- version: openwrt-24.10
75+
target: i386_pentium-mmx
76+
- version: openwrt-24.10
77+
target: i386_pentium4
78+
- version: openwrt-24.10
79+
target: loongarch64_generic
80+
- version: openwrt-24.10
81+
target: mips64_mips64r2
82+
- version: openwrt-24.10
83+
target: mips64_octeonplus
84+
- version: openwrt-24.10
85+
target: mips64el_mips64r2
4886
- version: openwrt-24.10
4987
target: mips_24kc
88+
- version: openwrt-24.10
89+
target: mips_4kec
90+
- version: openwrt-24.10
91+
target: mips_mips32
5092
- version: openwrt-24.10
5193
target: mipsel_24kc
94+
- version: openwrt-24.10
95+
target: mipsel_24kc_24kf
96+
- version: openwrt-24.10
97+
target: mipsel_74kc
98+
- version: openwrt-24.10
99+
target: mipsel_mips32
100+
- version: openwrt-24.10
101+
target: powerpc64_e5500
102+
- version: openwrt-24.10
103+
target: powerpc_464fp
104+
- version: openwrt-24.10
105+
target: powerpc_8548
106+
- version: openwrt-24.10
107+
target: riscv64_riscv64
108+
- version: openwrt-24.10
109+
target: x86_64
52110
# 25.12 (apk, all OpenWrt-supported arches)
53111
- version: openwrt-25.12
54112
target: aarch64_cortex-a53
@@ -150,11 +208,18 @@ jobs:
150208
151209
- name: 🧮 Compute ARCH
152210
run: |
153-
if [ "${{ matrix.version }}" = "snapshots" ]; then
154-
echo "ARCH=${{ matrix.target }}-SNAPSHOT" >> "$GITHUB_ENV"
155-
else
156-
echo "ARCH=${{ matrix.target }}-${{ matrix.version }}" >> "$GITHUB_ENV"
157-
fi
211+
# matrix.version is the release-line LABEL baked into artifact filenames
212+
# (sync_repo.sh matches *_openwrt-25.12_*), NOT the SDK image tag. Pin the
213+
# SDK to a specific STABLE point release so builds are reproducible and
214+
# immune to <ver>-SNAPSHOT mirror churn (rotated/truncated tarballs →
215+
# sha256 mismatch). Bump these when a new point release ships.
216+
case "${{ matrix.version }}" in
217+
openwrt-25.12) SDK_VERSION="25.12.5" ;;
218+
openwrt-24.10) SDK_VERSION="24.10.7" ;;
219+
snapshots) SDK_VERSION="SNAPSHOT" ;;
220+
*) SDK_VERSION="${{ matrix.version }}" ;;
221+
esac
222+
echo "ARCH=${{ matrix.target }}-${SDK_VERSION}" >> "$GITHUB_ENV"
158223
159224
- name: 🏗️ Build with OpenWrt SDK
160225
uses: openwrt/gh-action-sdk@v8

0 commit comments

Comments
 (0)