Skip to content

Commit

Permalink
Add a check build of Redox using Rust nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed Dec 29, 2020
1 parent 1e4a364 commit 35c2691
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,25 @@ jobs:
- name: Run check
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}

# Redox needs a nightly compiler for libc:
# https://github.com/rust-lang/libc/issues/2012
Check_Redox:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
target: ["x86_64-unknown-redox"]
steps:
- uses: actions/checkout@master
- name: Install Rust nightly
run: rustup update nightly && rustup default nightly
- name: Install cargo-hack
run: cargo install cargo-hack
- name: Install Target
run: rustup target add ${{ matrix.target }}
- name: Run check
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}

Publish_docs:
name: Publish Documentation
runs-on: ubuntu-latest
Expand Down

0 comments on commit 35c2691

Please sign in to comment.