Skip to content

Commit 9ad7049

Browse files
committed
Move nightly check to a separate job that doesn't run on staging/trying
1 parent 4d1e66d commit 9ad7049

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ name: Continuous integration
88
jobs:
99
ci:
1010
runs-on: ubuntu-latest
11-
continue-on-error: ${{ matrix.experimental }}
1211
strategy:
1312
matrix: # All permutations of {rust, mcu}
1413
rust:
@@ -20,11 +19,6 @@ jobs:
2019
- stm32h743v
2120
- stm32h753v
2221
- stm32h747cm7
23-
experimental: [false]
24-
include: # One additional job, as follows:
25-
- rust: nightly
26-
mcu: stm32h743v
27-
experimental: true
2822

2923
steps:
3024
- uses: actions/checkout@v2

.github/workflows/clippy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ name: Clippy
88
jobs:
99
clippy_check:
1010
runs-on: ubuntu-latest
11-
continue-on-error: true
1211
steps:
1312
- uses: actions/checkout@v2
1413
- uses: actions-rs/toolchain@v1

.github/workflows/nightly.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches: [ master ] # Do not run on staging / trying
4+
pull_request:
5+
6+
name: Nightly rust
7+
8+
jobs:
9+
ci:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions-rs/toolchain@v1
14+
with:
15+
profile: minimal
16+
toolchain: nightly
17+
target: thumbv7em-none-eabihf
18+
override: true
19+
- uses: actions-rs/cargo@v1
20+
with:
21+
use-cross: true
22+
command: build
23+
args: --verbose --release --examples --target thumbv7em-none-eabihf --features rt,stm32h743v
24+
- uses: actions-rs/cargo@v1
25+
with:
26+
command: test
27+
args: --lib --target x86_64-unknown-linux-gnu --features rt,stm32h743v

0 commit comments

Comments
 (0)