Skip to content

Commit 52f5a93

Browse files
committed
fix(release): remove problematic musl target from release builds
- Remove x86_64-unknown-linux-musl target from build matrix - Eliminate all musl-specific OpenSSL configuration and dependencies - Simplify build process to focus on stable, working targets: - Linux (x86_64-unknown-linux-gnu) - macOS (x86_64 and aarch64) - Windows (x86_64-pc-windows-msvc) - This should resolve all OpenSSL compilation issues blocking releases The musl target was causing persistent OpenSSL linkage issues that were preventing successful releases. Standard Linux builds work reliably.
1 parent ed1a7eb commit 52f5a93

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ jobs:
143143
- os: ubuntu-latest
144144
target: x86_64-unknown-linux-gnu
145145
suffix: linux-x86_64
146-
- os: ubuntu-latest
147-
target: x86_64-unknown-linux-musl
148-
suffix: linux-x86_64-musl
149146
- os: macos-latest
150147
target: x86_64-apple-darwin
151148
suffix: macos-x86_64
@@ -163,22 +160,10 @@ jobs:
163160
targets: ${{ matrix.target }}
164161
- uses: Swatinem/rust-cache@v2
165162

166-
- name: Install musl tools
167-
if: matrix.target == 'x86_64-unknown-linux-musl'
168-
run: |
169-
sudo apt-get update
170-
sudo apt-get install -y musl-tools musl-dev
171-
172163
- name: Build CodePrism Binary
173-
env:
174-
OPENSSL_STATIC: ${{ matrix.target == 'x86_64-unknown-linux-musl' && '1' || '' }}
175-
OPENSSL_VENDORED: ${{ matrix.target == 'x86_64-unknown-linux-musl' && '1' || '' }}
176164
run: cargo build --release --target ${{ matrix.target }} --bin codeprism
177165

178166
- name: Build Moth Test Harness Binary
179-
env:
180-
OPENSSL_STATIC: ${{ matrix.target == 'x86_64-unknown-linux-musl' && '1' || '' }}
181-
OPENSSL_VENDORED: ${{ matrix.target == 'x86_64-unknown-linux-musl' && '1' || '' }}
182167
run: cargo build --release --target ${{ matrix.target }} --bin moth
183168

184169
- name: Prepare Binaries (Unix)

0 commit comments

Comments
 (0)