File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,36 @@ jobs:
302
302
- name : Run tests
303
303
run : sudo -ubuilder cargo test --workspace --all-targets --release
304
304
305
+ build-and-test-32bit :
306
+ runs-on : ubuntu-latest
307
+
308
+ steps :
309
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
310
+
311
+ - name : Install 32-bit rust
312
+ run : |
313
+ rustup target add i686-unknown-linux-gnu
314
+
315
+ - name : Install dependencies
316
+ run : |
317
+ sudo dpkg --add-architecture i386
318
+ sudo apt update
319
+ sudo apt install libpam0g-dev:i386 gcc-multilib
320
+
321
+ - name : Rust Cache
322
+ uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
323
+ with :
324
+ shared-key : " stable"
325
+
326
+ - name : Register rust problem matcher
327
+ run : echo "::add-matcher::.github/problem-matchers/rust.json"
328
+
329
+ - name : Build
330
+ run : cargo build --target i686-unknown-linux-gnu --workspace --all-targets --release
331
+
332
+ - name : Run tests
333
+ run : cargo test --target i686-unknown-linux-gnu --workspace --all-targets --release
334
+
305
335
miri :
306
336
needs : build-and-test
307
337
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments