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 + f50a28d commit 4980806
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4980806

Please sign in to comment.