-
Notifications
You must be signed in to change notification settings - Fork 17
Establish Infrastructure #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4213f2e
549ca9a
16714bc
776fcda
5b84f46
2735088
0625e3b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,28 +6,29 @@ on: | |
| workflow_dispatch: # Allow manual dispatching | ||
| pull_request: | ||
|
|
||
| defaults: | ||
| run: | ||
| shell: bash | ||
|
|
||
| jobs: | ||
| compile-test: | ||
| name: Rust Compiler Tests | ||
| msrv: | ||
| name: MSRV Nightly Tests | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Install latest nightly | ||
| uses: actions-rs/toolchain@v1 | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@master | ||
| with: | ||
| toolchain: nightly | ||
|
|
||
| - name: Test local suites | ||
| run: ./.github/scripts/run_own_tests.sh | ||
| env: | ||
| TOOLS_BIN: "/tmp/smir/bin" | ||
| # Note that the downloaded version is dated 2025-08-09. | ||
| toolchain: nightly-2025-08-10 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would prefer a toolchain toml file, as we'll update it frequently and that's easier to automate than editing a github workflow Fine for now tho if you want to land this first and tune later
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah makes sense. I'd like to update it later together with the automation pr
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will that be a follow up PR? |
||
| components: rust-src | ||
| - run: ./x test | ||
|
|
||
| - 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 | ||
| latest: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Btw, you should be able to create an action and reuse it for these two jobs. Not a big deal at this point, but if you have a follow up PR, that might be a nice change. I also want to add a test for latest stable
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes, that would be done as follow up
ummm iirc the stable version can’t enable rustc_private
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. People would still need to set bootstrap env variable |
||
| name: Latest Nightly Tests | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@nightly | ||
| with: | ||
| components: rust-src | ||
| - run: ./x test | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| /book/build | ||
| **/target | ||
|
|
||
| # direnv | ||
| .envrc | ||
| /.direnv | ||
|
|
||
| .idea | ||
| *.swp | ||
| *.swo | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.