Skip to content

Commit

Permalink
ci: add support for loongarch64-unknown-linux-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher authored and Xudong-Huang committed Nov 28, 2024
1 parent 177935c commit 7ee303f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- { name: Linux-aarch64, os: ubuntu-latest, tool: aarch64-unknown-linux-gnu }
- { name: Linux-armv7, os: ubuntu-latest, tool: armv7-unknown-linux-gnueabihf }
#- { name: Linux-arm, os: ubuntu-latest, tool: arm-unknown-linux-gnueabihf }
- { name: Linux-loong64, os: ubuntu-latest, tool: loongarch64-unknown-linux-gnu }
#- { name: Linux-mips64, os: ubuntu-latest, tool: mips64-unknown-linux-gnuabi64 }
#- { name: Linux-powerpc64, os: ubuntu-latest, tool: powerpc64-unknown-linux-gnu }
#- { name: Linux-thumbv7, os: ubuntu-latest, tool: thumbv7neon-unknown-linux-gnueabihf }
Expand All @@ -48,6 +49,7 @@ jobs:
env:
CI: 1
CARGO_INCREMENTAL: 0
CROSS_NO_WARNINGS: 0
windows: ${{ startsWith(matrix.target.name, 'Windows') }}
linux: ${{ startsWith(matrix.target.name, 'Linux') }}
macos: ${{ startsWith(matrix.target.name, 'macOS') }}
Expand All @@ -59,7 +61,7 @@ jobs:
run: |
rustup default ${{ matrix.channel }}
rustup target add ${{ matrix.target.tool }}
cargo install cross
cargo install cross --git https://github.com/cross-rs/cross --rev 4090beca3cfffa44371a5bba524de3a578aa46c3
- name: Test
run: cross test --target ${{ matrix.target.tool }}
Expand Down

0 comments on commit 7ee303f

Please sign in to comment.