Skip to content

Commit

Permalink
Add 32-bit cross testing to CI
Browse files Browse the repository at this point in the history
Miri makes cross testing extremely easy. Bonus: We get Miri testing,
though that is not super important, as we don't use any unsafe anyways.
  • Loading branch information
Noratrieb committed Jan 13, 2024
1 parent 96dfdd7 commit c1aab78
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
name: Rust

on: [push]
on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: rust-lang/simpleinfra/github-actions/simple-ci@master
- name: "32-bit cross testing"
run: |
rustup toolchain install nightly
rustup override set nightly
rustup component add miri
cargo +nightly miri test --target i686-unknown-linux-gnu
strategy:
matrix:
os: [ubuntu, windows, macos]

0 comments on commit c1aab78

Please sign in to comment.