Run compiler tests #181
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run compiler tests | |
on: | |
schedule: | |
- cron: "0 6 * * *" # Run daily at 06:00 UTC | |
workflow_dispatch: # Allow manual dispatching | |
pull_request: | |
jobs: | |
compile-test: | |
name: Rust Compiler Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
- name: Test local suites | |
run: ./.github/scripts/run_own_tests.sh | |
env: | |
TOOLS_BIN: "/tmp/smir/bin" | |
- name: Test rustc suites | |
run: ./.github/scripts/run_rustc_tests.sh | |
env: | |
RUST_REPO: "/tmp/rustc" | |
TOOLS_BIN: "/tmp/smir/bin" | |
# Don't fail CI for now. See: https://github.com/rust-lang/project-stable-mir/issues/39 | |
continue-on-error: true |