Skip to content

Commit 0c714bb

Browse files
authored
Merge pull request #24 from Alexhuszagh/ci
Updated CI with big-endian and 32-bit archs.
2 parents 0ec3ed0 + 32f4d02 commit 0c714bb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

+29
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,32 @@ jobs:
2222
- run: cargo check
2323
- run: cargo test
2424
- run: cd extras/data-tests && cargo run --release
25+
26+
cross:
27+
name: Rust ${{matrix.target}}
28+
runs-on: ubuntu-latest
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
target:
33+
- powerpc-unknown-linux-gnu
34+
- powerpc64le-unknown-linux-gnu
35+
- aarch64-unknown-linux-gnu
36+
- armv7-unknown-linux-gnueabihf
37+
steps:
38+
- uses: actions/checkout@v2
39+
- uses: actions-rs/toolchain@v1
40+
with:
41+
toolchain: stable
42+
target: ${{matrix.target}}
43+
override: true
44+
- uses: actions-rs/cargo@v1
45+
with:
46+
use-cross: true
47+
command: check
48+
args: --target ${{matrix.target}}
49+
- uses: actions-rs/cargo@v1
50+
with:
51+
use-cross: true
52+
command: test
53+
args: --target ${{matrix.target}}

0 commit comments

Comments
 (0)