aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFelipe Balbi <[email protected]>2025-11-13 09:06:43 -0800
committerGitHub <[email protected]>2025-11-13 09:06:43 -0800
commit7480db25d5cc1866a3e037bfb89f990d9847bd10 (patch)
tree8128d3f0ba58c530a5fb83f6eca62a8b12a1709b /.github/workflows
parent6eb28d3e7b7290d2998229b1bfb624e33575ea83 (diff)
parentf1636f3913e06f84ec2a097924bd7154b9bb1a3c (diff)
Merge pull request #13 from jamesmunns/james/repac
Switch to new PAC commit
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cargo-vet-pr-comment.yml2
-rw-r--r--.github/workflows/check.yml18
-rw-r--r--.github/workflows/nostd.yml11
-rw-r--r--.github/workflows/rolling.yml4
4 files changed, 22 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..8e05f5c5d 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,10 @@ jobs:
136 with: 140 with:
137 toolchain: stable 141 toolchain: stable
138 components: clippy 142 components: clippy
143 targets: thumbv8m.main-none-eabihf
139 144
140 - name: rustup target add thumbv8m.main-none-eabihf 145 - name: cargo install cargo-hack
141 run: rustup target add thumbv8m.main-none-eabihf 146 uses: taiki-e/install-action@cargo-hack
142 147
143 - name: cargo hack 148 - name: cargo hack
144 run: cargo hack --feature-powerset check 149 run: cargo hack --feature-powerset check
@@ -156,6 +161,8 @@ jobs:
156 161
157 - name: Install stable 162 - name: Install stable
158 uses: dtolnay/rust-toolchain@stable 163 uses: dtolnay/rust-toolchain@stable
164 with:
165 targets: thumbv8m.main-none-eabihf
159 166
160 - name: cargo install cargo-deny 167 - name: cargo install cargo-deny
161 uses: EmbarkStudios/cargo-deny-action@v2 168 uses: EmbarkStudios/cargo-deny-action@v2
@@ -173,7 +180,7 @@ jobs:
173 strategy: 180 strategy:
174 fail-fast: false 181 fail-fast: false
175 matrix: 182 matrix:
176 msrv: ["1.90"] # We're relying on namespaced-features, which 183 msrv: ["1.91"] # We're relying on namespaced-features, which
177 # was released in 1.60 184 # was released in 1.60
178 # 185 #
179 # We also depend on `fixed' which requires rust 186 # We also depend on `fixed' which requires rust
@@ -188,6 +195,8 @@ jobs:
188 # embassy upstream switched to rust 1.85 195 # embassy upstream switched to rust 1.85
189 # 196 #
190 # unsigned_is_multiple_of requires 1.90, else we get clippy warnings 197 # unsigned_is_multiple_of requires 1.90, else we get clippy warnings
198 #
199 # [email protected] requires rustc 1.91
191 200
192 name: ubuntu / ${{ matrix.msrv }} 201 name: ubuntu / ${{ matrix.msrv }}
193 steps: 202 steps:
@@ -199,6 +208,7 @@ jobs:
199 uses: dtolnay/rust-toolchain@master 208 uses: dtolnay/rust-toolchain@master
200 with: 209 with:
201 toolchain: ${{ matrix.msrv }} 210 toolchain: ${{ matrix.msrv }}
211 targets: thumbv8m.main-none-eabihf
202 212
203 - name: cargo +${{ matrix.msrv }} check 213 - name: cargo +${{ matrix.msrv }} check
204 run: | 214 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