Skip to content

Commit 7af6519

Browse files
committed
prebuild all rusts
1 parent de15e96 commit 7af6519

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,19 @@ jobs:
4242
args: --target ${{ matrix.TARGET }}
4343

4444
prebuild:
45-
name: Prebuild for linux & stable Rust
45+
name: Prebuild
4646
runs-on: ubuntu-latest
47+
strategy:
48+
matrix:
49+
rust: [stable, nightly, 1.46.0]
50+
4751
steps:
4852
- uses: actions/checkout@v2
4953

5054
- uses: actions-rs/toolchain@v1
5155
with:
5256
profile: minimal
53-
toolchain: stable
57+
toolchain: ${{ matrix.rust }}
5458
override: true
5559

5660
- name: Cache
@@ -93,12 +97,10 @@ jobs:
9397

9498
# Use nightly for architectures which don't support stable
9599
- rust: nightly
96-
experimental: true
97100
vendor: OTHER
98101

99102
# Use nightly for architectures which don't support stable
100103
- rust: nightly
101-
experimental: true
102104
vendor: Espressif
103105

104106
steps:
@@ -115,10 +117,6 @@ jobs:
115117
with:
116118
sharedKey: prebuilded
117119

118-
- name: Self install
119-
run: |
120-
cargo install svd2rust --path .
121-
122120
- name: Run CI script for `${{ matrix.vendor }}` under rust `${{ matrix.rust }}` with options=`${{ matrix.options }}`
123121
env:
124122
VENDOR: ${{ matrix.vendor }}

ci/script.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,12 @@ main() {
231231
test_svd MK82F25615
232232
# test_svd MKE14F16
233233
# test_svd MKE14Z7
234-
test_svd MKE15Z7
235-
# test_svd MKE16F16
236-
# test_svd MKE18F16
237234
;;
238235

239236
Freescale_2)
237+
test_svd MKE15Z7
238+
# test_svd MKE16F16
239+
# test_svd MKE18F16
240240
test_svd MKL28T7_CORE0
241241
# test_svd MKL28T7_CORE1
242242
# test_svd MKL28Z7
@@ -351,6 +351,8 @@ main() {
351351
test_svd MB9AFB4xL
352352
test_svd MB9AFB4xM
353353
test_svd MB9AFB4xN
354+
test_svd S6E1A1
355+
test_svd S6E2CC
354356
;;
355357

356358
Fujitsu_2)
@@ -411,8 +413,6 @@ main() {
411413
test_svd MB9BF61xT
412414
test_svd MB9BFD1xS
413415
test_svd MB9BFD1xT
414-
test_svd S6E1A1
415-
test_svd S6E2CC
416416
;;
417417

418418
Holtek)

0 commit comments

Comments
 (0)