Skip to content

Commit 97d068a

Browse files
ismoilovdevmlclaude
andcommitted
🗑️ Remove ARM64 Linux build (cross-compilation issues)
- Remove aarch64-unknown-linux-musl target due to persistent cross-compilation errors - Keep Linux x86_64 MUSL (universal binary for all distros) - Keep both macOS targets (x86_64 and Apple Silicon) Supported platforms: ✅ Linux x86_64 (MUSL static - works on all distros) ✅ macOS Intel ✅ macOS Apple Silicon ARM64 Linux users can build from source with cargo. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent ee00238 commit 97d068a

File tree

1 file changed

+5
-33
lines changed

1 file changed

+5
-33
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,16 @@ jobs:
4848
- target: x86_64-unknown-linux-musl
4949
os: ubuntu-latest
5050
name: rust-strom-linux-x86_64
51-
cross: false
52-
53-
# Linux ARM64 (Static MUSL - works on all Linux distros)
54-
- target: aarch64-unknown-linux-musl
55-
os: ubuntu-latest
56-
name: rust-strom-linux-aarch64
57-
cross: true
5851

5952
# macOS Intel
6053
- target: x86_64-apple-darwin
6154
os: macos-latest
6255
name: rust-strom-macos-x86_64
63-
cross: false
6456

6557
# macOS Apple Silicon
6658
- target: aarch64-apple-darwin
6759
os: macos-latest
6860
name: rust-strom-macos-aarch64
69-
cross: false
7061

7162
steps:
7263
- name: Checkout code
@@ -77,44 +68,27 @@ jobs:
7768
with:
7869
targets: ${{ matrix.target }}
7970

80-
- name: Install MUSL tools (x86_64)
71+
- name: Install MUSL tools (Linux x86_64)
8172
if: matrix.target == 'x86_64-unknown-linux-musl'
8273
run: |
8374
sudo apt-get update
8475
sudo apt-get install -y musl-tools
8576
86-
- name: Install cross for ARM64 cross-compilation
87-
if: matrix.cross
88-
uses: taiki-e/install-action@cross
89-
9077
- name: Rust Cache
9178
uses: Swatinem/rust-cache@v2
9279
with:
9380
key: ${{ matrix.target }}
9481
shared-key: "release"
9582
cache-on-failure: true
9683

97-
- name: Build release binary (native)
98-
if: ${{ !matrix.cross }}
84+
- name: Build release binary
9985
run: cargo build --release --target ${{ matrix.target }}
10086

101-
- name: Build release binary (cross-compile)
102-
if: matrix.cross
103-
env:
104-
CROSS_CONTAINER_IN_CONTAINER: true
105-
run: cross build --release --target ${{ matrix.target }}
106-
107-
- name: Verify binary (native builds only)
108-
if: ${{ !matrix.cross }}
87+
- name: Verify binary
10988
run: |
11089
ls -lh target/${{ matrix.target }}/release/rust-strom
11190
file target/${{ matrix.target }}/release/rust-strom
112-
target/${{ matrix.target }}/release/rust-strom --version || echo "Version check skipped"
113-
114-
- name: Display binary info (all builds)
115-
run: |
116-
ls -lh target/${{ matrix.target }}/release/rust-strom
117-
file target/${{ matrix.target }}/release/rust-strom || true
91+
target/${{ matrix.target }}/release/rust-strom --version || echo "Version check skipped (cross-platform binary)"
11892
11993
- name: Prepare binary for upload
12094
run: |
@@ -170,8 +144,7 @@ jobs:
170144
```
171145
172146
**Or download binary directly:**
173-
- Linux x86_64: `rust-strom-linux-x86_64`
174-
- Linux ARM64: `rust-strom-linux-aarch64`
147+
- Linux x86_64 (MUSL static): `rust-strom-linux-x86_64`
175148
- macOS Intel: `rust-strom-macos-x86_64`
176149
- macOS Apple Silicon: `rust-strom-macos-aarch64`
177150
@@ -181,7 +154,6 @@ jobs:
181154
- [Full Documentation](https://github.com/ismoilovdevml/RustStrom#readme)
182155
files: |
183156
artifacts/rust-strom-linux-x86_64/rust-strom-linux-x86_64
184-
artifacts/rust-strom-linux-aarch64/rust-strom-linux-aarch64
185157
artifacts/rust-strom-macos-x86_64/rust-strom-macos-x86_64
186158
artifacts/rust-strom-macos-aarch64/rust-strom-macos-aarch64
187159
draft: false

0 commit comments

Comments
 (0)