Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add support for loongarch64-unknown-linux-gnu #70

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading