Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
[Release]
  • Loading branch information
Bluemangoo authored Apr 30, 2024
1 parent 749d008 commit a11b013
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,26 @@ jobs:
- target: aarch64-unknown-linux-gnu
host_os: ubuntu-latest
packages: "gcc-aarch64-linux-gnu libc6-dev-arm64-cross binutils-aarch64-linux-gnu"
option: "linker = '/usr/bin/aarch64-linux-gnu-gcc'\n ar = '/usr/bin/aarch64-linux-gnu-ar'"

- target: aarch64-unknown-linux-musl
host_os: ubuntu-latest
cross: true
packages: "gcc-aarch64-linux-gnu libc6-dev-arm64-cross binutils-aarch64-linux-gnu musl-tools"

- target: arm-unknown-linux-gnueabi
host_os: ubuntu-latest
cross: true
packages: "gcc-arm-linux-gnueabihf"

- target: armv7-unknown-linux-musleabihf
host_os: ubuntu-latest
cross: true
packages: "gcc-arm-linux-gnueabihf"

- target: i686-unknown-linux-gnu
host_os: ubuntu-latest
packages: "gcc-multilib libc6-dev-i386"

- target: i686-unknown-linux-musl
host_os: ubuntu-latest
cross: true
packages: "gcc-multilib libc6-dev-i386"

- target: x86_64-apple-darwin
host_os: macos-latest
Expand All @@ -93,7 +92,10 @@ jobs:
with:
prefix-key: v0-rust-build-${{ matrix.target }}
cache-all-crates: true
- run: cat ~/.cargo/config
- name: Rewrite config
run: |
rm -f ~/.cargo/config
cp .github/workflows/cargo_config.toml ~/.cargo/config
- name: Install cross
if: ${{ matrix.cross }}
run: cargo install cross
Expand Down

0 comments on commit a11b013

Please sign in to comment.