Skip to content

Commit

Permalink
fix nightly CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HippoBaro committed Feb 27, 2022
1 parent 97e54d7 commit d480c63
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ jobs:
- name: Generate documentation
run: cargo doc --all

doc-nightly:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Cache setup
uses: ./.github/actions/cache-setup

- name: Install cargo-deadlinks
run: which deadlinks || cargo install cargo-deadlinks

- name: Generate documentation
run: |
rustup install nightly
cargo +nightly doc --all
# temporarily disabled.
# - name: Validate links
# run: cargo deadlinks --dir target/doc/glommio
Expand Down Expand Up @@ -54,8 +72,9 @@ jobs:
uses: ./.github/actions/cache-setup

- name: Build all targets on the nigthly channel
run: cargo +nightly build --all --all-targets --features=nightly

run: >
rustup install nightly;
cargo +nightly build --all --all-targets --features=nightly
test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -100,6 +119,7 @@ jobs:
rustup install nightly
rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
rustup install 1.58
cargo install cargo-sort
rustup show
cargo +nightly test --features=nightly -- --test-threads=`nproc`
EOF
Expand Down

0 comments on commit d480c63

Please sign in to comment.