Skip to content

Commit a6a4824

Browse files
Ulf Lilleengeneldruin
authored andcommitted
Merge CI workflows
1 parent 52e41c0 commit a6a4824

File tree

4 files changed

+34
-47
lines changed

4 files changed

+34
-47
lines changed

.github/workflows/ci-async.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,24 @@ jobs:
3838
with:
3939
command: check
4040
args: --target=${{ matrix.TARGET }}
41+
42+
ci-linux-async:
43+
runs-on: ubuntu-latest
44+
strategy:
45+
matrix:
46+
rust: [nightly]
47+
TARGET: [x86_64-unknown-linux-gnu, thumbv6m-none-eabi, thumbv7m-none-eabi]
48+
49+
steps:
50+
- uses: actions/checkout@v2
51+
- uses: actions-rs/toolchain@v1
52+
with:
53+
profile: minimal
54+
toolchain: ${{ matrix.rust }}
55+
target: ${{ matrix.TARGET }}
56+
override: true
57+
- run: cargo check --target=${{ matrix.TARGET }}
58+
working-directory: embedded-nal-async
59+
- run: cargo test --target=${{ matrix.TARGET }}
60+
if: contains(matrix.TARGET, 'linux')
61+
working-directory: embedded-nal-async

.github/workflows/clippy-async.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/clippy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,16 @@ jobs:
1818
- uses: actions-rs/clippy-check@v1
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}
21+
22+
clippy_check_async:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: actions-rs/toolchain@v1
27+
with:
28+
profile: minimal
29+
toolchain: nightly
30+
override: true
31+
components: clippy
32+
- run: cargo clippy
33+
working-directory: embedded-nal-async

0 commit comments

Comments
 (0)