-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pof-bid-net-revenue
- Loading branch information
Showing
121 changed files
with
32,188 additions
and
1,344 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 |
---|---|---|
|
@@ -34,12 +34,6 @@ runs: | |
shell: bash | ||
run: rustup component add rustfmt clippy | ||
|
||
- name: also rust cache | ||
uses: Swatinem/[email protected] | ||
with: | ||
shared-key: "libra" | ||
cache-on-failure: "true" | ||
|
||
# call own action for libra_cli | ||
# known issue with needing to hard code the @version | ||
# https://github.com/orgs/community/discussions/41927 | ||
|
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 |
---|---|---|
|
@@ -47,12 +47,13 @@ jobs: | |
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
# fail fast if types doesnt compile, everything else will fail. | ||
# fail fast if types doesn't compile, everything else will fail. | ||
- name: types | ||
working-directory: ./types | ||
run: cargo test --no-fail-fast | ||
|
@@ -67,10 +68,11 @@ jobs: | |
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- name: wallet | ||
if: always() | ||
|
@@ -94,10 +96,11 @@ jobs: | |
name: framework-build | ||
path: framework/ | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
# Check test suite meta tests | ||
- name: smoke-tests # NOTE: needs working DIEM_FORGE_NODE_BIN_PATH | ||
|
@@ -114,10 +117,11 @@ jobs: | |
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -140,10 +144,11 @@ jobs: | |
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -165,10 +170,11 @@ jobs: | |
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -204,10 +210,14 @@ jobs: | |
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -258,17 +268,20 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- name: setup env | ||
# if: ${{runner.environment == 'self-hosted'}} | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- uses: actions/[email protected] | ||
# if: ${{runner.environment == 'self-hosted'}} | ||
with: | ||
name: framework-build | ||
path: framework/ | ||
- name: rescue | ||
if: always() | ||
# if: ${{runner.environment == 'self-hosted'}} | ||
working-directory: ./tools/rescue | ||
run: RUST_MIN_STACK=104857600 cargo test --no-fail-fast -- --test-threads=1 | ||
storage: | ||
|
@@ -277,16 +290,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- name: storage | ||
working-directory: ./tools/storage | ||
# TODO: not testing the V6 file parsing | ||
run: cargo test --no-fail-fast | ||
|
||
twin-testsuite: | ||
|
@@ -295,13 +310,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: setup env | ||
uses: ./.github/actions/build_env | ||
|
||
- uses: Swatinem/rust-cache@v2.7.3 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
shared-key: "libra-framework" | ||
cache-all-crates: true | ||
cache-on-failure: true | ||
|
||
- name: twin | ||
working-directory: ./testsuites/twin | ||
run: cargo test --no-fail-fast |
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
Oops, something went wrong.