aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-11-13 17:42:42 +0100
committerJames Munns <[email protected]>2025-11-13 17:42:42 +0100
commit302702dd58c53a50aa84892eac79a5300c247752 (patch)
tree4d2065303716a5a0f35d93706a2430a5a5ccc64a /.github/workflows
parent4c62f5fd7ea8061fcbd35e0eab4abd2c83725b37 (diff)
Tweak CI workflows for embassy-mcxa
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cargo-vet-pr-comment.yml2
-rw-r--r--.github/workflows/check.yml13
-rw-r--r--.github/workflows/nostd.yml11
-rw-r--r--.github/workflows/rolling.yml4
4 files changed, 17 insertions, 13 deletions
diff --git a/.github/workflows/cargo-vet-pr-comment.yml b/.github/workflows/cargo-vet-pr-comment.yml
index 4dec76822..fafb21641 100644
--- a/.github/workflows/cargo-vet-pr-comment.yml
+++ b/.github/workflows/cargo-vet-pr-comment.yml
@@ -134,4 +134,4 @@ jobs:
134 134
135 comment-tag: [cargo-vet] 135 comment-tag: [cargo-vet]
136 --> 136 -->
137 edit-mode: replace \ No newline at end of file 137 edit-mode: replace
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 5d4271145..3f116426f 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -34,7 +34,7 @@ jobs:
34 strategy: 34 strategy:
35 fail-fast: false 35 fail-fast: false
36 matrix: 36 matrix:
37 workdir: [ ".", "examples/rt633", "examples/rt685s-evk",] 37 workdir: [ ".", "examples",]
38 38
39 steps: 39 steps:
40 - uses: actions/checkout@v5 40 - uses: actions/checkout@v5
@@ -45,6 +45,7 @@ jobs:
45 uses: dtolnay/rust-toolchain@nightly 45 uses: dtolnay/rust-toolchain@nightly
46 with: 46 with:
47 components: rustfmt 47 components: rustfmt
48 targets: thumbv8m.main-none-eabihf
48 49
49 - name: cargo fmt --check 50 - name: cargo fmt --check
50 run: cargo fmt --check 51 run: cargo fmt --check
@@ -75,6 +76,7 @@ jobs:
75 with: 76 with:
76 toolchain: ${{ matrix.toolchain }} 77 toolchain: ${{ matrix.toolchain }}
77 components: clippy 78 components: clippy
79 targets: thumbv8m.main-none-eabihf
78 80
79 - name: cargo clippy 81 - name: cargo clippy
80 working-directory: ${{ matrix.workdir }} 82 working-directory: ${{ matrix.workdir }}
@@ -110,6 +112,8 @@ jobs:
110 112
111 - name: Install nightly 113 - name: Install nightly
112 uses: dtolnay/rust-toolchain@nightly 114 uses: dtolnay/rust-toolchain@nightly
115 with:
116 targets: thumbv8m.main-none-eabihf
113 117
114 - name: cargo doc 118 - name: cargo doc
115 run: | 119 run: |
@@ -136,9 +140,7 @@ jobs:
136 with: 140 with:
137 toolchain: stable 141 toolchain: stable
138 components: clippy 142 components: clippy
139 143 targets: thumbv8m.main-none-eabihf
140 - name: rustup target add thumbv8m.main-none-eabihf
141 run: rustup target add thumbv8m.main-none-eabihf
142 144
143 - name: cargo hack 145 - name: cargo hack
144 run: cargo hack --feature-powerset check 146 run: cargo hack --feature-powerset check
@@ -156,6 +158,8 @@ jobs:
156 158
157 - name: Install stable 159 - name: Install stable
158 uses: dtolnay/rust-toolchain@stable 160 uses: dtolnay/rust-toolchain@stable
161 with:
162 targets: thumbv8m.main-none-eabihf
159 163
160 - name: cargo install cargo-deny 164 - name: cargo install cargo-deny
161 uses: EmbarkStudios/cargo-deny-action@v2 165 uses: EmbarkStudios/cargo-deny-action@v2
@@ -199,6 +203,7 @@ jobs:
199 uses: dtolnay/rust-toolchain@master 203 uses: dtolnay/rust-toolchain@master
200 with: 204 with:
201 toolchain: ${{ matrix.msrv }} 205 toolchain: ${{ matrix.msrv }}
206 targets: thumbv8m.main-none-eabihf
202 207
203 - name: cargo +${{ matrix.msrv }} check 208 - name: cargo +${{ matrix.msrv }} check
204 run: | 209 run: |
diff --git a/.github/workflows/nostd.yml b/.github/workflows/nostd.yml
index fbada0516..6083577da 100644
--- a/.github/workflows/nostd.yml
+++ b/.github/workflows/nostd.yml
@@ -20,10 +20,6 @@ jobs:
20 runs-on: ubuntu-latest 20 runs-on: ubuntu-latest
21 name: ${{ matrix.target }} 21 name: ${{ matrix.target }}
22 22
23 strategy:
24 matrix:
25 target: [thumbv8m.main-none-eabihf]
26
27 steps: 23 steps:
28 - uses: actions/checkout@v5 24 - uses: actions/checkout@v5
29 with: 25 with:
@@ -31,13 +27,12 @@ jobs:
31 27
32 - name: Install stable 28 - name: Install stable
33 uses: dtolnay/rust-toolchain@stable 29 uses: dtolnay/rust-toolchain@stable
34 30 with:
35 - name: rustup target add ${{ matrix.target }} 31 targets: thumbv8m.main-none-eabihf
36 run: rustup target add ${{ matrix.target }}
37 32
38 - name: Show variable 33 - name: Show variable
39 run: echo ${{ env.TOKEN }} 34 run: echo ${{ env.TOKEN }}
40 35
41 - name: cargo check 36 - name: cargo check
42 run: | 37 run: |
43 cargo check --target ${{ matrix.target }} --all-features --locked 38 cargo check --target thumbv8m.main-none-eabihf --all-features --locked
diff --git a/.github/workflows/rolling.yml b/.github/workflows/rolling.yml
index 4c9e9718a..386c0df5c 100644
--- a/.github/workflows/rolling.yml
+++ b/.github/workflows/rolling.yml
@@ -25,6 +25,9 @@ jobs:
25 submodules: true 25 submodules: true
26 - name: Install stable 26 - name: Install stable
27 uses: dtolnay/rust-toolchain@stable 27 uses: dtolnay/rust-toolchain@stable
28 with:
29 targets: thumbv8m.main-none-eabihf
30
28 - name: cargo install cargo-hack 31 - name: cargo install cargo-hack
29 uses: taiki-e/install-action@cargo-hack 32 uses: taiki-e/install-action@cargo-hack
30 - name: cargo check 33 - name: cargo check
@@ -62,6 +65,7 @@ jobs:
62 uses: dtolnay/rust-toolchain@master 65 uses: dtolnay/rust-toolchain@master
63 with: 66 with:
64 toolchain: ${{ matrix.msrv }} 67 toolchain: ${{ matrix.msrv }}
68 targets: thumbv8m.main-none-eabihf
65 - name: cargo +${{ matrix.msrv }} check 69 - name: cargo +${{ matrix.msrv }} check
66 run: | 70 run: |
67 cargo update 71 cargo update