|
17 | 17 | - name: Running test script
|
18 | 18 | env:
|
19 | 19 | DO_LINT: true
|
| 20 | + DO_DOCS: true |
20 | 21 | DO_FEATURE_MATRIX: true
|
21 | 22 | run: ./contrib/test.sh
|
22 | 23 |
|
|
45 | 46 | uses: dtolnay/rust-toolchain@nightly
|
46 | 47 | - name: Running test script
|
47 | 48 | env:
|
| 49 | + DO_DOCSRS: true |
48 | 50 | DO_FMT: true
|
49 | 51 | run: ./contrib/test.sh
|
50 | 52 |
|
@@ -100,3 +102,36 @@ jobs:
|
100 | 102 | RUSTFLAGS: "-C link-arg=-Tlink.x"
|
101 | 103 | CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER: "qemu-system-arm -cpu cortex-m3 -machine mps2-an385 -nographic -semihosting-config enable=on,target=native -kernel"
|
102 | 104 | run: cd embedded/no-allocator && cargo run --target thumbv7m-none-eabi
|
| 105 | + |
| 106 | + Arch32bit: |
| 107 | + name: Test 32-bit version |
| 108 | + runs-on: ubuntu-latest |
| 109 | + steps: |
| 110 | + - name: Checkout Crate |
| 111 | + uses: actions/checkout@v3 |
| 112 | + - name: Checkout Toolchain |
| 113 | + uses: dtolnay/rust-toolchain@stable |
| 114 | + - name: Add architecture i386 |
| 115 | + run: sudo dpkg --add-architecture i386 |
| 116 | + - name: Install i686 gcc |
| 117 | + run: sudo apt-get update -y && sudo apt-get install -y gcc-multilib |
| 118 | + - name: Install target |
| 119 | + run: rustup target add i686-unknown-linux-gnu |
| 120 | + - name: Run tests on i686 |
| 121 | + run: cargo test --target i686-unknown-linux-gnu |
| 122 | + |
| 123 | + Cross: |
| 124 | + name: Cross test |
| 125 | + if: ${{ !github.event.act }} |
| 126 | + runs-on: ubuntu-latest |
| 127 | + steps: |
| 128 | + - name: Checkout Crate |
| 129 | + uses: actions/checkout@v3 |
| 130 | + - name: Checkout Toolchain |
| 131 | + uses: dtolnay/rust-toolchain@stable |
| 132 | + - name: Install target |
| 133 | + run: rustup target add s390x-unknown-linux-gnu |
| 134 | + - name: install cross |
| 135 | + run: cargo install cross --locked |
| 136 | + - name: run cross test |
| 137 | + run: cross test --target s390x-unknown-linux-gnu |
0 commit comments