Pin an older nightly to fix wasi tests (#671)
Rust's recent update to libstd of the wasm32-wasi target turned out to be buggy with respect to fetching the process arguments, so we'll need to wait on a fix there before we can run these tests with nightly again.
This commit is contained in:
6
.github/actions/install-rust/main.js
vendored
6
.github/actions/install-rust/main.js
vendored
@@ -1,17 +1,13 @@
|
|||||||
const child_process = require('child_process');
|
const child_process = require('child_process');
|
||||||
const toolchain = process.env.INPUT_TOOLCHAIN;
|
const toolchain = process.env.INPUT_TOOLCHAIN;
|
||||||
|
|
||||||
for (var i = 0, keys = Object.keys(process.env), ii = keys.length; i < ii; i++) {
|
|
||||||
console.log(keys[i] + '=' + process.env[keys[i]]);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
child_process.execSync(`curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=none --profile=minimal`);
|
child_process.execSync(`curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=none --profile=minimal`);
|
||||||
const bindir = `${process.env.HOME}/.cargo/bin`;
|
const bindir = `${process.env.HOME}/.cargo/bin`;
|
||||||
console.log(`::add-path::${bindir}`);
|
console.log(`::add-path::${bindir}`);
|
||||||
process.env.PATH = `${process.env.PATH}:${bindir}`;
|
process.env.PATH = `${process.env.PATH}:${bindir}`;
|
||||||
child_process.execFileSync('rustup', ['set', 'profile', 'minimal']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
child_process.execFileSync('rustup', ['set', 'profile', 'minimal']);
|
||||||
child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']);
|
child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']);
|
||||||
child_process.execFileSync('rustup', ['default', toolchain]);
|
child_process.execFileSync('rustup', ['default', toolchain]);
|
||||||
|
|||||||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -102,9 +102,11 @@ jobs:
|
|||||||
- build: beta
|
- build: beta
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
rust: beta
|
rust: beta
|
||||||
|
# FIXME need to wait for rust-lang/rust#67065 to get into nightlies,
|
||||||
|
# and then this can be updated to `nightly` again.
|
||||||
- build: nightly
|
- build: nightly
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
rust: nightly
|
rust: nightly-2019-12-03
|
||||||
- build: macos
|
- build: macos
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
rust: stable
|
rust: stable
|
||||||
|
|||||||
Reference in New Issue
Block a user