Skip to content

Commit

Permalink
chore: 修改CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nashaofu committed Sep 7, 2024
1 parent 322b7a9 commit ef79ba6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ jobs:
- target: x86_64-unknown-linux-gnu
host: ubuntu-latest
build: |
cargo install cross --git https://github.com/cross-rs/cross && \
cargo install cross --force --git https://github.com/cross-rs/cross && \
cross build --release --target x86_64-unknown-linux-gnu && \
mkdir build && \
cp target/x86_64-unknown-linux-gnu/release/wol build/wol && \
strip -x build/wol
- target: x86_64-unknown-linux-musl
host: ubuntu-latest
build: |
cargo install cross --git https://github.com/cross-rs/cross && \
cargo install cross --force --git https://github.com/cross-rs/cross && \
cross build --release --target x86_64-unknown-linux-musl && \
mkdir build && \
cp target/x86_64-unknown-linux-musl/release/wol build/wol && \
Expand All @@ -71,14 +71,14 @@ jobs:
- target: aarch64-unknown-linux-gnu
host: ubuntu-latest
build: |
cargo install cross --git https://github.com/cross-rs/cross && \
cargo install cross --force --git https://github.com/cross-rs/cross && \
cross build --release --target aarch64-unknown-linux-gnu && \
mkdir build && \
cp target/aarch64-unknown-linux-gnu/release/wol build/wol
- target: aarch64-unknown-linux-musl
host: ubuntu-latest
build: |
cargo install cross --git https://github.com/cross-rs/cross && \
cargo install cross --force --git https://github.com/cross-rs/cross && \
cross build --release --target aarch64-unknown-linux-musl && \
mkdir build && \
cp target/aarch64-unknown-linux-musl/release/wol build/wol
Expand Down

0 comments on commit ef79ba6

Please sign in to comment.