- { os: ubuntu-22.04, rust-version: "1.77", target: 'x86_64-unknown-linux-gnu'}
# rust versions
- { os: ubuntu-22.04, rust-version: beta, target: 'x86_64-unknown-linux-gnu'}
- - { os: ubuntu-22.04, rust-version: nightly, target: 'x86_64-unknown-linux-gnu'}
+ - { os: ubuntu-22.04, rust-version: nightly, target: 'x86_64-unknown-linux-gnu', miri: true, components: ["miri"]}
defaults:
run:
shell: bash
rust-version: ${{ matrix.rust-version }}
targets: ${{ matrix.target }}
cache-context: ${{ matrix.os }}
+ components: ${{ matrix.components }}
# Build and test.
- name: Build library
- name: Test
run: cargo test --target ${{ matrix.target }} ${{ matrix.test-args }} --all
+ - name: Check miri
+ if: matrix.miri
+ run: cargo miri test
+
# On stable rust builds, build a binary and publish as a github actions
# artifact. These binaries could be useful for testing the pipeline but
# are only retained by github for 90 days.
// issue #2361
#[serial]
#[test]
+#[cfg_attr(miri, ignore = "blocked on helper.rs UB")]
fn call_qualification() {
load_module_test("tests-pl/issue2361-call-qualified.pl", "");
}