-
Notifications
You must be signed in to change notification settings - Fork 9
48 lines (40 loc) · 1.24 KB
/
Copy pathrolling.yml
File metadata and controls
48 lines (40 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This workflow runs every morning at midnight.
# It updates dependencies for all platforms using cargo update and verifies
# that builds still succeed with the updated dependencies.
permissions:
contents: read
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
name: rolling
jobs:
update-and-check:
name: cargo-update / update-and-check
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- platform: dev-imxrt
target: thumbv8m.main-none-eabihf
- platform: dev-npcx
target: thumbv7em-none-eabihf
- platform: dev-qemu
target: riscv32imac-unknown-none-elf
- platform: dev-mcxa
target: thumbv8m.main-none-eabihf
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: rustup target add ${{ matrix.target }}
run: rustup target add ${{ matrix.target }}
- name: Run cargo update
working-directory: platform/${{ matrix.platform }}
run: cargo update
- name: cargo check
working-directory: platform/${{ matrix.platform }}
run: cargo check --locked