-
Notifications
You must be signed in to change notification settings - Fork 595
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update tarpaulin * update url * try llvm engine * try lld * try single thread * try stable * use stable * try rust-toolchain.toml * update toolchain * fix * fix
- Loading branch information
1 parent
37d9e36
commit 73e09fd
Showing
5 changed files
with
10 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
env: | ||
TARPAULIN_VERSION: 0.19.1 | ||
TARPAULIN_VERSION: 0.27.1 | ||
# LIBCLANG_PATH: "/usr/lib/llvm-11/lib" # default `llvm-config --prefix` | ||
CARGO_INCREMENTAL: 0 | ||
jobs: | ||
|
@@ -40,17 +40,13 @@ jobs: | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Install toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
toolchain: nightly-2023-04-15 | ||
components: rustfmt | ||
target: wasm32-unknown-unknown | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
- name: Run cargo-tarpaulin | ||
run: | | ||
wget https://github.com/xd009642/tarpaulin/releases/download/${{ env.TARPAULIN_VERSION }}/cargo-tarpaulin-${{ env.TARPAULIN_VERSION }}-travis.tar.gz | ||
tar -zxvf cargo-tarpaulin-${{ env.TARPAULIN_VERSION }}-travis.tar.gz -C $HOME/.cargo/bin | ||
cargo tarpaulin -v --no-fail-fast --workspace \ | ||
wget https://github.com/xd009642/tarpaulin/releases/download/${{ env.TARPAULIN_VERSION }}/cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz | ||
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin | ||
cargo tarpaulin -v --no-fail-fast --implicit-test-threads --workspace \ | ||
-e acala-inspect \ | ||
acala acala-cli e2e-tests acala-service \ | ||
acala-primitives \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,13 +38,11 @@ jobs: | |
- name: Install toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
toolchain: nightly-2023-04-15 | ||
components: rustfmt | ||
target: wasm32-unknown-unknown | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
- name: Check format | ||
run: cargo fmt --all -- --check | ||
run: cargo +nightly fmt --all -- --check | ||
- name: Build | ||
run: make build-all | ||
- name: Install clippy | ||
|
@@ -75,10 +73,6 @@ jobs: | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Install toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
toolchain: nightly-2023-04-15 | ||
components: rustfmt | ||
target: wasm32-unknown-unknown | ||
- name: Install cargo-nextest | ||
uses: taiki-e/install-action@nextest | ||
- name: Setup cmake | ||
|
@@ -103,10 +97,6 @@ jobs: | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Install toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
toolchain: nightly-2023-04-15 | ||
components: rustfmt | ||
target: wasm32-unknown-unknown | ||
- name: Install cargo-nextest | ||
uses: taiki-e/install-action@nextest | ||
- name: Setup cmake | ||
|
@@ -139,10 +129,6 @@ jobs: | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Install toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
toolchain: nightly-2023-04-15 | ||
components: rustfmt | ||
target: wasm32-unknown-unknown | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
- name: Run e2e tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,14 +42,12 @@ jobs: | |
name: Install toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
toolchain: nightly-2023-04-15 | ||
components: rustfmt | ||
target: wasm32-unknown-unknown | ||
- &cmake | ||
name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
- name: Check format | ||
run: cargo fmt --all -- --check | ||
run: cargo +nightly fmt --all -- --check | ||
- name: Build | ||
run: make build-all | ||
- name: Install clippy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[toolchain] | ||
channel = "1.73.0" | ||
components = ["rustfmt", "clippy"] | ||
targets = ["wasm32-unknown-unknown"] |