Skip to content

Commit 8a81e28

Browse files
mountennotgull
authored andcommitted
ci: added target compatibility checks
- checking compatibility for *nto-qnx* targets
1 parent 5ea3e16 commit 8a81e28

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,21 @@ jobs:
102102
- name: Install cargo-hack
103103
uses: taiki-e/install-action@cargo-hack
104104
- run: cargo hack build --rust-version
105+
target-compatibility:
106+
runs-on: ubuntu-latest
107+
strategy:
108+
fail-fast: false
109+
matrix:
110+
rust: [nightly]
111+
target:
112+
- aarch64-unknown-nto-qnx800
113+
- x86_64-pc-nto-qnx800
114+
steps:
115+
- uses: actions/checkout@v4
116+
- name: Install Rust
117+
run: |
118+
rustup update ${{ matrix.rust }} --no-self-update
119+
rustup default ${{ matrix.rust }}
120+
rustup component add rust-src --toolchain nightly
121+
- name: Cargo check
122+
run: cargo +nightly check -Zbuild-std --target ${{ matrix.target }}

0 commit comments

Comments
 (0)