Skip to content

Commit 0cd4450

Browse files
committed
fix(ci): add openssl deps
1 parent 6fdc20e commit 0cd4450

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,14 @@ jobs:
2525
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
2626
- uses: dtolnay/rust-toolchain@stable
2727
- name: Install musl toolchain
28-
run: sudo apt-get install -y musl-tools
28+
run: sudo apt-get install -y libssl-dev
2929
- uses: dtolnay/rust-toolchain@stable
3030
name: Setup Cargo Toolchain πŸ›ŽοΈ
31-
with:
32-
targets: x86_64-unknown-linux-musl
3331
- uses: Swatinem/rust-cache@v2
3432
- name: Compile all targets πŸš€
35-
run: cargo build --release --target x86_64-unknown-linux-musl
33+
run: cargo build --release --target x86_64-unknown-linux-gnu
3634
- name: create tar
37-
run: tar -cvzf mirror-clone.tar.gz -C target/x86_64-unknown-linux-musl/release mirror-clone
35+
run: tar -cvzf mirror-clone.tar.gz -C target/x86_64-unknown-linux-gnu/release mirror-clone
3836
- uses: softprops/action-gh-release@v2
3937
id: create_release
4038
env:

β€Ž.github/workflows/test.ymlβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,15 @@ jobs:
1818
- uses: actions/checkout@v5
1919
name: Checkout πŸ›ŽοΈ
2020
- name: Install musl toolchain
21-
run: sudo apt-get install -y musl-tools
21+
run: sudo apt-get install -y libssl-dev
2222
- uses: dtolnay/rust-toolchain@stable
2323
name: Setup Cargo Toolchain πŸ›ŽοΈ
2424
with:
2525
components: rustfmt, clippy
26-
targets: x86_64-unknown-linux-musl
2726
- uses: Swatinem/rust-cache@v2
2827
- name: Check Code Format πŸ”§
2928
run: cargo fmt -- --check
3029
- name: Run Clippy Lints πŸ”¨
3130
run: cargo clippy --all-targets --all-features
3231
- name: Running Tests πŸš€
33-
run: cargo test --target x86_64-unknown-linux-musl --all-features --workspace
32+
run: cargo test --target x86_64-unknown-linux-gnu --all-features --workspace

0 commit comments

Comments
Β (0)