File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -137,15 +137,20 @@ jobs:
137137 rustup self update
138138 rustup default ${{ env.RUST_TOOLCHAIN }}
139139 rustup update ${{ env.RUST_TOOLCHAIN }}
140+ rustup target add i686-unknown-linux-gnu
141+ rustup target add x86_64-unknown-linux-gnu
140142
141- - name : Build
142- run : rustup run ${{ env.RUST_TOOLCHAIN }} cargo build --verbose
143+ - name : Build (x86_64)
144+ run : rustup run ${{ env.RUST_TOOLCHAIN }} cargo build --target x86_64-unknown-linux-gnu -- verbose
143145
144- - name : Build tests
145- run : rustup run ${{ env.RUST_TOOLCHAIN }} cargo build --tests --verbose
146+ - name : Build (x86)
147+ run : rustup run ${{ env.RUST_TOOLCHAIN }} cargo build --target i686-unknown-linux-gnu --verbose
146148
147- - name : Run tests against the local kernel (Landlock ABI ${{ env.LANDLOCK_CRATE_TEST_ABI }})
148- run : rustup run ${{ env.RUST_TOOLCHAIN }} cargo test --verbose
149+ - name : Run tests against the local kernel (Landlock ABI ${{ env.LANDLOCK_CRATE_TEST_ABI }} on x86_64)
150+ run : rustup run ${{ env.RUST_TOOLCHAIN }} cargo test --target x86_64-unknown-linux-gnu --verbose
151+
152+ - name : Run tests against the local kernel (Landlock ABI ${{ env.LANDLOCK_CRATE_TEST_ABI }} on x86)
153+ run : rustup run ${{ env.RUST_TOOLCHAIN }} cargo test --target i686-unknown-linux-gnu --verbose
149154
150155 - name : Run tests against Linux 6.1
151156 run : CARGO="rustup run ${{ env.RUST_TOOLCHAIN }} cargo" ./landlock-test-tools/test-rust.sh linux-6.1 2
You can’t perform that action at this time.
0 commit comments