Skip to content

Commit cb1dff9

Browse files
dpsoftclaude
andcommitted
fix(ci): add retry for busybox download, musl cross-linker for macOS
- Add --retry 3 to busybox download (Launchpad 503 errors) - Install musl cross-compiler on macOS for guest-agent build - Set fail-fast: false so x86_64 isn't cancelled by aarch64 failures Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bdb7196 commit cb1dff9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/guest-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
DEB_URL="https://launchpad.net/ubuntu/+archive/primary/+files/busybox-static_1.36.1-6ubuntu3.1_arm64.deb"
4949
;;
5050
esac
51-
curl -fsSL "$DEB_URL" -o /tmp/busybox-static.deb
51+
curl -fsSL --retry 3 --retry-delay 5 "$DEB_URL" -o /tmp/busybox-static.deb
5252
cd /tmp && ar x busybox-static.deb && tar xf data.tar* ./usr/bin/busybox
5353
chmod +x /tmp/usr/bin/busybox
5454

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
name: Build Linux (${{ matrix.arch }})
1818
runs-on: ubuntu-latest
1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
arch: [x86_64, aarch64]
2223

@@ -49,7 +50,7 @@ jobs:
4950
DEB_URL="https://launchpad.net/ubuntu/+archive/primary/+files/busybox-static_1.36.1-6ubuntu3.1_arm64.deb"
5051
;;
5152
esac
52-
curl -fsSL "$DEB_URL" -o /tmp/busybox-static.deb
53+
curl -fsSL --retry 3 --retry-delay 5 "$DEB_URL" -o /tmp/busybox-static.deb
5354
cd /tmp && ar x busybox-static.deb && tar xf data.tar* ./usr/bin/busybox
5455
chmod +x /tmp/usr/bin/busybox
5556
@@ -108,6 +109,10 @@ jobs:
108109
- name: Install Rust
109110
uses: dtolnay/rust-toolchain@stable
110111

112+
- name: Install musl cross-compiler
113+
run: |
114+
brew install messense/macos-cross-toolchains/aarch64-unknown-linux-musl
115+
111116
- name: Build voidbox host binary
112117
run: |
113118
cargo build --release --bin voidbox

0 commit comments

Comments
 (0)