-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (42 loc) · 1.11 KB
/
merge.yml
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
49
50
51
52
name: Merge PR
on:
merge_group:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
strategy:
matrix:
version: ["v4", "v6c6", "v6s3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: esp-rs/[email protected]
with:
default: true
buildtargets: esp32s3
version: "1.80.0"
ldproxy: false
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-06-01
components: clippy, rustfmt, rust-src
- uses: Swatinem/rust-cache@v2
- uses: cargo-bins/cargo-binstall@main
- name: setup espflash
run: cargo binstall --no-confirm --force cargo-espflash
- name: build
run: cargo xbuild ${{ matrix.version }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: esp-rs/[email protected]
with:
default: true
buildtargets: esp32s3
ldproxy: false
- uses: Swatinem/rust-cache@v2
- name: test
run: cargo xtask test