Skip to content

Commit

Permalink
Add cargo check for loongarch64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 12, 2024
1 parent 855f6d2 commit 7469ed6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
6 changes: 6 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: llvm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -548,6 +550,10 @@ jobs:
- name: Cache cargo build
uses: Swatinem/rust-cache@v2
- name: cargo check
env:
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER: clang
CC_loongarch64_unknown_linux_gnu: clang
AR_loongarch64_unknown_linux_gnu: llvm-ar
run: cargo check --target ${{ matrix.platform.target }}

conclusion:
Expand Down
15 changes: 8 additions & 7 deletions Cargo.lock

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

0 comments on commit 7469ed6

Please sign in to comment.