ci: add more common targets and fix aarch64-windows-gnu rust-target component error
This commit is contained in:
parent
6d1d25df83
commit
ff1f966022
1 changed files with 13 additions and 4 deletions
17
.github/workflows/pkg-release.yml
vendored
17
.github/workflows/pkg-release.yml
vendored
|
|
@ -32,12 +32,21 @@ jobs:
|
||||||
- target: x86_64-windows-gnu
|
- target: x86_64-windows-gnu
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
rust-target: x86_64-pc-windows-gnu
|
rust-target: x86_64-pc-windows-gnu
|
||||||
# - target: aarch64-windows-gnu
|
- target: aarch64-windows-gnu
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# rust-target: aarch64-pc-windows-gnu
|
rust-target: aarch64-pc-windows-gnullvm
|
||||||
- target: wasm32-freestanding
|
- target: wasm32-freestanding
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
rust-target: wasm32-unknown-unknown
|
rust-target: wasm32-unknown-unknown
|
||||||
|
- target: wasm32-wasi
|
||||||
|
os: ubuntu-latest
|
||||||
|
rust-target: wasm32-wasi
|
||||||
|
- target: x86_64-linux-musl
|
||||||
|
os: ubuntu-latest
|
||||||
|
rust-target: x86_64-unknown-linux-musl
|
||||||
|
- target: aarch64-linux-musl
|
||||||
|
os: ubuntu-latest
|
||||||
|
rust-target: aarch64-unknown-linux-musl
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -52,7 +61,7 @@ jobs:
|
||||||
targets: ${{ matrix.rust-target }}
|
targets: ${{ matrix.rust-target }}
|
||||||
|
|
||||||
- name: Install cross-compilers (Linux-aarch64)
|
- name: Install cross-compilers (Linux-aarch64)
|
||||||
if: matrix.target == 'aarch64-linux-gnu'
|
if: contains(matrix.target, 'aarch64-linux')
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y gcc-aarch64-linux-gnu
|
sudo apt-get install -y gcc-aarch64-linux-gnu
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue