Skip to content

Commit 2156456

Browse files
committed
ci
1 parent df00734 commit 2156456

File tree

3 files changed

+9
-155
lines changed

3 files changed

+9
-155
lines changed

.github/workflows/rust-multiboot2.yml

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

.github/workflows/rust-workspace.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
name: "workspace:multiboot2-header"
1+
# CI for the whole Cargo workspace. Although having two relatively independent
2+
# crates in this workspace (as they do not get released together, as for example
3+
# tokio with its sub crates), a PR for a certain CI may report errors in the
4+
# other workspace members. I think this is unfortunate. I've experimented with
5+
# CI runs per workspace member but the complexity in the end was not worth it.
6+
# Instead, it is the right thing that the CI always covers the whole repository
7+
# and that it is as stable as possible.
8+
9+
name: "Cargo workspace"
210

311
# Run on every push (tag, branch) and pull_request
412
on: [pull_request, push, workflow_dispatch]
@@ -11,31 +19,27 @@ jobs:
1119
name: "build (msrv)"
1220
uses: ./.github/workflows/_build-rust.yml
1321
with:
14-
workspace-member: multiboot2-header
1522
rust-version: 1.56.1
1623
do-style-check: false
1724

1825
build_multiboot2_stable:
1926
name: "build (stable)"
2027
uses: ./.github/workflows/_build-rust.yml
2128
with:
22-
workspace-member: multiboot2-header
2329
rust-version: stable
2430
do-style-check: false
2531

2632
build_multiboot2_nightly:
2733
name: "build (nightly)"
2834
uses: ./.github/workflows/_build-rust.yml
2935
with:
30-
workspace-member: multiboot2-header
3136
rust-version: nightly
3237
do-style-check: false
3338

3439
build_nostd_multiboot2_msrv:
3540
name: "build no_std (msrv)"
3641
uses: ./.github/workflows/_build-rust.yml
3742
with:
38-
workspace-member: multiboot2-header
3943
rust-version: 1.56.1
4044
do-style-check: false
4145
rust-target: thumbv7em-none-eabihf
@@ -44,7 +48,6 @@ jobs:
4448
name: "build no_std (stable)"
4549
uses: ./.github/workflows/_build-rust.yml
4650
with:
47-
workspace-member: multiboot2-header
4851
rust-version: stable
4952
do-style-check: false
5053
rust-target: thumbv7em-none-eabihf
@@ -53,7 +56,6 @@ jobs:
5356
name: "build no_std (nightly)"
5457
uses: ./.github/workflows/_build-rust.yml
5558
with:
56-
workspace-member: multiboot2-header
5759
rust-version: nightly
5860
do-style-check: false
5961
rust-target: thumbv7em-none-eabihf
@@ -62,7 +64,6 @@ jobs:
6264
name: "style (msrv)"
6365
uses: ./.github/workflows/_build-rust.yml
6466
with:
65-
workspace-member: multiboot2-header
6667
rust-version: 1.56.1
6768
do-style-check: true
6869
do-test: false
@@ -71,7 +72,6 @@ jobs:
7172
name: "style (stable)"
7273
uses: ./.github/workflows/_build-rust.yml
7374
with:
74-
workspace-member: multiboot2-header
7575
rust-version: stable
7676
do-style-check: true
7777
do-test: false

0 commit comments

Comments
 (0)