Skip to content

Commit

Permalink
Merge pull request #1989 from PyO3/cargo-check-loongarch64
Browse files Browse the repository at this point in the history
Add `cargo check` for loongarch64 target
  • Loading branch information
messense authored Mar 12, 2024
2 parents 855f6d2 + 4a517e1 commit a742ba3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,8 @@ jobs:
platform:
- target: armv5te-unknown-linux-gnueabi
apt-packages: gcc-arm-linux-gnueabi
- target: loongarch64-unknown-linux-gnu
apt-packages: clang
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -548,6 +550,8 @@ jobs:
- name: Cache cargo build
uses: Swatinem/rust-cache@v2
- name: cargo check
env:
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER: clang
run: cargo check --target ${{ matrix.platform.target }}

conclusion:
Expand Down

0 comments on commit a742ba3

Please sign in to comment.