Skip to content

Commit c1ddadd

Browse files
committed
fix(ci): update release pipeline for Linux-only builds
- Remove darwin platforms from release builds (SwarmCracker requires KVM/Firecracker) - Add platform support note to release changelog - Clarify Linux-only requirements in release notes Fixes release pipeline failure when building for unsupported platforms. Supported platforms: - ✅ linux/amd64 - ✅ linux/arm64 Not supported (requires KVM): - ❌ darwin/amd64 - ❌ darwin/arm64 - ❌ windows/*
1 parent 29c0fb6 commit c1ddadd

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
make all
3535
3636
# Package each binary for each platform
37-
platforms="linux/amd64 linux/arm64 darwin/amd64 darwin/arm64"
37+
# Note: SwarmCracker is Linux-only (requires KVM, Firecracker, TAP devices)
38+
platforms="linux/amd64 linux/arm64"
3839
binaries="swarmcracker swarmd-firecracker swarmcracker-agent"
3940
4041
for platform in $platforms; do
@@ -88,6 +89,21 @@ jobs:
8889
git log --pretty=format:"- %s (%h)" --no-merges >> changelog.txt
8990
fi
9091
92+
# Add platform support note
93+
echo "" >> changelog.txt
94+
echo "## 🐧 Platform Support" >> changelog.txt
95+
echo "" >> changelog.txt
96+
echo "**Supported Platforms:**" >> changelog.txt
97+
echo "- ✅ Linux amd64 (x86_64)" >> changelog.txt
98+
echo "- ✅ Linux arm64 (AArch64)" >> changelog.txt
99+
echo "" >> changelog.txt
100+
echo "**Requirements:**" >> changelog.txt
101+
echo "- KVM support (/dev/kvm)" >> changelog.txt
102+
echo "- Linux kernel 4.14+" >> changelog.txt
103+
echo "- Firecracker v1.14+" >> changelog.txt
104+
echo "" >> changelog.txt
105+
echo "*Note: macOS and Windows are not supported. SwarmCracker requires KVM virtualization which is Linux-only.*" >> changelog.txt
106+
91107
cat changelog.txt
92108
93109
- name: Create GitHub Release

0 commit comments

Comments
 (0)