Skip to content

Commit ae44fab

Browse files
committed
Move bootloader integration test to separate CI job
We should not make this test part of the manditory test suite because the bootloader crate depends on x86_64 itself. Thus, some breaking changes require a two-phase update.
1 parent 55d5fad commit ae44fab

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ jobs:
5050
rustc -Vv
5151
cargo -Vv
5252
53-
- name: Cache binaries
54-
id: cache-bin
55-
uses: actions/cache@v1
56-
with:
57-
path: binaries
58-
key: ${{ runner.OS }}-binaries
59-
- name: Add binaries/bin to PATH
60-
run: echo "$GITHUB_WORKSPACE/binaries/bin" >> $GITHUB_PATH
61-
shell: bash
62-
6353
- name: "Run cargo build"
6454
uses: actions-rs/cargo@v1
6555
with:
@@ -131,6 +121,35 @@ jobs:
131121
cargo build --target i686-unknown-linux-gnu --no-default-features --features nightly
132122
cargo build --target thumbv7em-none-eabihf --no-default-features --features nightly
133123
124+
bootloader-test:
125+
name: "Bootloader Integration Test"
126+
127+
strategy:
128+
fail-fast: false
129+
matrix:
130+
platform: [
131+
ubuntu-latest,
132+
macos-latest,
133+
windows-latest
134+
]
135+
136+
runs-on: ${{ matrix.platform }}
137+
timeout-minutes: 15
138+
139+
steps:
140+
- name: "Checkout Repository"
141+
uses: actions/checkout@v1
142+
143+
- name: Cache binaries
144+
id: cache-bin
145+
uses: actions/cache@v1
146+
with:
147+
path: binaries
148+
key: ${{ runner.OS }}-binaries
149+
- name: Add binaries/bin to PATH
150+
run: echo "$GITHUB_WORKSPACE/binaries/bin" >> $GITHUB_PATH
151+
shell: bash
152+
134153
- name: "Install Rustup Components"
135154
run: rustup component add rust-src llvm-tools-preview
136155
- name: "Install cargo-xbuild"

0 commit comments

Comments
 (0)