Skip to content

Commit 35c2691

Browse files
committed
Add a check build of Redox using Rust nightly
1 parent 1e4a364 commit 35c2691

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,25 @@ jobs:
7171
- name: Run check
7272
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}
7373

74+
# Redox needs a nightly compiler for libc:
75+
# https://github.com/rust-lang/libc/issues/2012
76+
Check_Redox:
77+
name: Check
78+
runs-on: ubuntu-latest
79+
strategy:
80+
matrix:
81+
target: ["x86_64-unknown-redox"]
82+
steps:
83+
- uses: actions/checkout@master
84+
- name: Install Rust nightly
85+
run: rustup update nightly && rustup default nightly
86+
- name: Install cargo-hack
87+
run: cargo install cargo-hack
88+
- name: Install Target
89+
run: rustup target add ${{ matrix.target }}
90+
- name: Run check
91+
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}
92+
7493
Publish_docs:
7594
name: Publish Documentation
7695
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)