Skip to content

Commit bcf8290

Browse files
Add CI steps for mc-sgx-panic-abort
`mc-sgx-panic-abort` is a crate that that can only be built in a no_std environment and thus can't use `cargo test`. Because of this `mc-sgx-panic-abort` is separate from the root workspace and needs to be explicitly called out in CI steps.
1 parent 336cf09 commit bcf8290

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/dependabot.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ updates:
66
interval: daily
77
open-pull-requests-limit: 25
88

9+
# See https://github.com/dependabot/dependabot-core/issues/2824 for doing
10+
# multiple directories for the same check.
11+
- package-ecosystem: cargo
12+
directory: "/panic/abort"
13+
schedule:
14+
interval: daily
15+
open-pull-requests-limit: 25
16+
917
- package-ecosystem: github-actions
1018
directory: "/"
1119
schedule:

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
components: rustfmt
2727
- uses: r7kamura/rust-problem-matchers@v1
2828
- run: cargo +${{ matrix.rust }} fmt --all -- --check
29+
- run: cargo +${{ matrix.rust }} fmt --all -- --check
30+
working-directory: panic/abort
2931

3032
markdown-lint:
3133
runs-on: ubuntu-22.04
@@ -61,6 +63,8 @@ jobs:
6163
- uses: actions/checkout@v3
6264
- run: cargo install cargo-sort
6365
- run: cargo sort --workspace --check >/dev/null
66+
- run: cargo sort --workspace --check >/dev/null
67+
working-directory: panic/abort
6468

6569
clippy:
6670
runs-on: ubuntu-22.04
@@ -79,6 +83,8 @@ jobs:
7983
components: clippy
8084
- uses: r7kamura/rust-problem-matchers@v1
8185
- run: cargo +${{ matrix.rust }} clippy --all --all-features -- -D warnings
86+
- run: cargo +${{ matrix.rust }} clippy --all --all-features -- -D warnings
87+
working-directory: panic/abort
8288

8389
build:
8490
runs-on: ubuntu-22.04
@@ -99,6 +105,8 @@ jobs:
99105
toolchain: ${{ matrix.rust }}
100106
- uses: r7kamura/rust-problem-matchers@v1
101107
- run: cargo +${{ matrix.rust }} build --release
108+
- run: cargo +${{ matrix.rust }} build --release
109+
working-directory: panic/abort
102110

103111
test:
104112
runs-on: ubuntu-22.04
@@ -136,6 +144,8 @@ jobs:
136144
toolchain: ${{ matrix.rust }}
137145
- uses: r7kamura/rust-problem-matchers@v1
138146
- run: cargo +${{ matrix.rust }} doc --release --no-deps
147+
- run: cargo +${{ matrix.rust }} doc --release --no-deps
148+
working-directory: panic/abort
139149

140150
coverage:
141151
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)