Skip to content

Commit

Permalink
ci: fix toolchain
Browse files Browse the repository at this point in the history
```
Run actions-rs/toolchain@v1
/runner/_work/_temp/5a8c1328-61cf-4c6e-8a44-0a2477ad5648 --default-toolchain none -y
info: downloading installer
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: skipping toolchain installation
Rust is installed now. Great!
To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).
To configure your current shell, run:
source "$HOME/.cargo/env"
/root/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /root/.rustup
installed toolchains
--------------------
error: no default toolchain configured
Error: The process '/root/.cargo/bin/rustup' failed with exit code 1
```

Signed-off-by: Harald Hoyer <harald@profian.com>
  • Loading branch information
haraldh committed Jul 15, 2022
1 parent 4d368d9 commit 841f5a5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,16 @@ jobs:
steps:
- run: sudo apt -o Acquire::Retries=3 update
- run: sudo apt -o Acquire::Retries=3 install -y musl-tools lcov
- uses: actions/checkout@v2
- name: Cleanup working directory
run: rm -fr *
- uses: actions-rs/toolchain@v1
with:
target: x86_64-unknown-linux-gnu
toolchain: nightly-2022-06-28
toolchain: nightly
profile: minimal
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: |
rustup override unset
rustup show
rustup component add llvm-tools-preview
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@ jobs:
ENARX_BACKEND: ${{ matrix.backend.name }}
steps:
- run: sudo apt -o Acquire::Retries=3 update
- run: sudo apt -o Acquire::Retries=3 install -y musl-tools
- run: sudo apt -o Acquire::Retries=3 install -y musl-tools curl
- name: Cleanup working directory
run: rm -fr *
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
target: x86_64-unknown-linux-musl
toolchain: nightly-2022-06-28
profile: minimal
- name: Setup Rust toolchain
run: >
rustup override unset || :
&& rustup target add wasm32-wasi
&& rustup show
- name: Install rustup
run: |
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
source "$HOME/.cargo/env"
rustup override unset
rustup show
- uses: actions-rs/cargo@v1
with:
command: test
Expand Down

0 comments on commit 841f5a5

Please sign in to comment.