Pin nightlies to fix lightbeam compilation (#1818)

Looks like lightbeam's nightly dependencies don't compile on the most
recent nightly. For now let's pin nightlies to get CI green.
This commit is contained in:
Alex Crichton
2020-06-04 11:32:49 -05:00
committed by GitHub
parent cd4a441d88
commit 5a8afd4540

View File

@@ -55,7 +55,7 @@ jobs:
submodules: true submodules: true
- uses: ./.github/actions/install-rust - uses: ./.github/actions/install-rust
with: with:
toolchain: nightly toolchain: nightly-2020-06-03
- run: cargo doc --no-deps --all --exclude wasmtime-cli --exclude test-programs --exclude cranelift-codegen-meta - run: cargo doc --no-deps --all --exclude wasmtime-cli --exclude test-programs --exclude cranelift-codegen-meta
- run: cargo doc --package cranelift-codegen-meta --document-private-items - run: cargo doc --package cranelift-codegen-meta --document-private-items
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v1
@@ -75,7 +75,7 @@ jobs:
submodules: true submodules: true
- uses: ./.github/actions/install-rust - uses: ./.github/actions/install-rust
with: with:
toolchain: nightly toolchain: nightly-2020-06-03
# Check some feature combinations of the `wasmtime` crate # Check some feature combinations of the `wasmtime` crate
- run: cargo check --manifest-path crates/wasmtime/Cargo.toml --no-default-features - run: cargo check --manifest-path crates/wasmtime/Cargo.toml --no-default-features
@@ -167,7 +167,7 @@ jobs:
rust: beta rust: beta
- build: nightly - build: nightly
os: ubuntu-latest os: ubuntu-latest
rust: nightly rust: nightly-2020-06-03
- build: macos - build: macos
os: macos-latest os: macos-latest
rust: stable rust: stable
@@ -233,9 +233,9 @@ jobs:
# Build and test lightbeam if we're using the nightly toolchain. Note that # Build and test lightbeam if we're using the nightly toolchain. Note that
# Lightbeam tests fail right now, but we don't want to block on that. # Lightbeam tests fail right now, but we don't want to block on that.
- run: cargo build --package lightbeam - run: cargo build --package lightbeam
if: matrix.rust == 'nightly' if: matrix.rust == 'nightly-2020-06-03'
- run: cargo test --package lightbeam - run: cargo test --package lightbeam
if: matrix.rust == 'nightly' if: matrix.rust == 'nightly-2020-06-03'
continue-on-error: true continue-on-error: true
env: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1