Skip to content

Commit 6467bf4

Browse files
author
User
committed
fix: drop musl target, build for x86_64-linux-gnu with libssl-dev
1 parent bcd5be4 commit 6467bf4

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ jobs:
2222
token: ${{ secrets.BUILD_TOKEN }}
2323

2424
- uses: dtolnay/rust-toolchain@stable
25-
with:
26-
targets: x86_64-unknown-linux-musl
2725

28-
- run: sudo apt-get install -y musl-tools perl make
26+
- run: sudo apt-get install -y libssl-dev pkg-config
2927

3028
- uses: actions/cache@v4
3129
with:
@@ -35,15 +33,10 @@ jobs:
3533
target
3634
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3735

38-
- name: Build static binary
39-
env:
40-
OPENSSL_STATIC: "1"
41-
OPENSSL_VENDORED: "1"
36+
- name: Build binary
4237
run: |
43-
cargo build --release --bin vramhub-validator \
44-
--target x86_64-unknown-linux-musl
45-
cp target/x86_64-unknown-linux-musl/release/vramhub-validator \
46-
vram-validator-linux-x86_64
38+
cargo build --release --bin vramhub-validator
39+
cp target/release/vramhub-validator vram-validator-linux-x86_64
4740
4841
- name: Release
4942
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)