-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nikita Zaporozhets <[email protected]>
- Loading branch information
Nikita Zaporozhets
committed
Jan 24, 2024
1 parent
7118ed4
commit c973514
Showing
1 changed file
with
15 additions
and
13 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 |
---|---|---|
|
@@ -13,8 +13,10 @@ env: | |
RUSTFLAGS: "-Cinstrument-coverage" | ||
|
||
jobs: | ||
build: | ||
consistency: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: sora2/substrate:env | ||
|
||
steps: | ||
- name: Checkout code | ||
|
@@ -29,21 +31,21 @@ jobs: | |
target | ||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Setup Rust | ||
uses: ATiltedTree/[email protected] | ||
with: | ||
rust-version: nightly-2024-01-15 | ||
# - name: Setup Rust | ||
# uses: ATiltedTree/[email protected] | ||
# with: | ||
# rust-version: nightly-2024-01-15 | ||
|
||
- name: Install llvm tools | ||
run: rustup component add llvm-tools-preview | ||
# - name: Install llvm tools | ||
# run: rustup component add llvm-tools-preview | ||
|
||
- name: Install grcov | ||
run: cargo install grcov | ||
# - name: Install grcov | ||
# run: cargo install grcov | ||
|
||
- name: Install packages | ||
run: | | ||
apt-get update | ||
protobuf-compiler | ||
# - name: Install packages | ||
# run: | | ||
# apt-get update | ||
# protobuf-compiler | ||
|
||
- name: Build and test | ||
run: cargo test -r | ||
|