forked from kaspanet/rusty-kaspa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50d5233
commit dfbb3b3
Showing
1 changed file
with
13 additions
and
0 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 |
---|---|---|
|
@@ -10,6 +10,9 @@ jobs: | |
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v1 | ||
with: | ||
|
@@ -82,6 +85,10 @@ jobs: | |
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
|
||
- name: Fix CRLF on Windows | ||
if: runner.os == 'Windows' | ||
run: git config --global core.autocrlf false | ||
|
@@ -112,6 +119,9 @@ jobs: | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Run cargo build with devnet-prealloc feature | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
RUSTC_WRAPPER: "sccache" | ||
run: cargo build --release --features devnet-prealloc --workspace --all --tests --benches | ||
|
||
- name: Run cargo test regular features | ||
|
@@ -182,6 +192,9 @@ jobs: | |
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v1 | ||
with: | ||
|