Skip to content

Commit ef9b4ae

Browse files
committed
update CI
1 parent 60a038f commit ef9b4ae

File tree

6 files changed

+26
-187
lines changed

6 files changed

+26
-187
lines changed

.github/scripts/run_own_tests.sh

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/scripts/run_rustc_tests.sh

Lines changed: 0 additions & 116 deletions
This file was deleted.

.github/workflows/demo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Run a job to ensure formatting is OK
1+
# Run a job to ensure Demo is OK
22
name: Run demo
33
on:
44
pull_request:
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Run Demo
2020
run: ./demo/run_demo.sh

.github/workflows/deploy_mdbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
contents: write
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Install mdbook
1919
run: cargo install mdbook --version "^0.4" --locked

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Run Rust Format
17-
run: cargo fmt --check
17+
run: ./x fmt --check

.github/workflows/nightly.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,29 @@ on:
66
workflow_dispatch: # Allow manual dispatching
77
pull_request:
88

9+
defaults:
10+
run:
11+
shell: bash
12+
913
jobs:
10-
compile-test:
11-
name: Rust Compiler Tests
14+
msrv:
15+
name: MSRV Nightly Tests
1216
runs-on: ubuntu-latest
1317
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v3
16-
17-
- name: Install latest nightly
18-
uses: actions-rs/toolchain@v1
18+
- uses: actions/checkout@v4
19+
- uses: dtolnay/rust-toolchain@master
1920
with:
20-
toolchain: nightly
21-
22-
- name: Test local suites
23-
run: ./.github/scripts/run_own_tests.sh
24-
env:
25-
TOOLS_BIN: "/tmp/smir/bin"
21+
# Note that this is the release date, which means the downloaded version is 2025-08-09.
22+
toolchain: nightly-2025-08-10
23+
components: rust-src
24+
- run: ./x test
2625

27-
- name: Test rustc suites
28-
run: ./.github/scripts/run_rustc_tests.sh
29-
env:
30-
RUST_REPO: "/tmp/rustc"
31-
TOOLS_BIN: "/tmp/smir/bin"
32-
# Don't fail CI for now. See: https://github.com/rust-lang/project-stable-mir/issues/39
33-
continue-on-error: true
26+
latest:
27+
name: Latest Nightly Tests
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: dtolnay/rust-toolchain@nightly
32+
with:
33+
components: rust-src
34+
- run: ./x test

0 commit comments

Comments
 (0)