-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Showing
163 changed files
with
12,408 additions
and
361 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Aptos Move Test for Compiler V2 | ||
description: Runs Aptos Move tests with compiler V2 | ||
inputs: | ||
GIT_CREDENTIALS: | ||
description: "Optional credentials to pass to git. Useful if you need to pull private repos for dependencies" | ||
required: false | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
# Checkout the repository and setup the rust toolchain | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. | ||
- uses: aptos-labs/aptos-core/.github/actions/rust-setup@main | ||
with: | ||
GIT_CREDENTIALS: ${{ inputs.GIT_CREDENTIALS }} | ||
|
||
# Install nextest | ||
- uses: taiki-e/install-action@v1.5.6 | ||
with: | ||
tool: nextest | ||
|
||
# Run Aptos Move tests with compiler V2 | ||
- name: Run Aptos Move tests with compiler V2 | ||
run: cargo nextest run --profile ci --locked -p e2e-move-tests -p aptos-framework --retries 3 --no-fail-fast | ||
shell: bash | ||
env: | ||
MOVE_COMPILER_EXP: no-safety | ||
MOVE_COMPILER_V2: true | ||
RUST_MIN_STACK: 4297152 | ||
MVP_TEST_ON_CI: true | ||
SOLC_EXE: /home/runner/bin/solc | ||
Z3_EXE: /home/runner/bin/z3 | ||
CVC5_EXE: /home/runner/bin/cvc5 | ||
DOTNET_ROOT: /home/runner/.dotnet | ||
BOOGIE_EXE: /home/runner/.dotnet/tools/boogie |
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,40 @@ | ||
name: "Aptos Move Test for Compiler V2" | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'aptos-move/e2e-move-tests/**' | ||
- 'aptos-move/framework/**' | ||
- 'third_party/move/**' | ||
- '.github/workflows/move-test-compiler-v2.yaml' | ||
- '.github/actions/move-tests-compiler-v2/**' | ||
pull_request: | ||
paths: | ||
- 'aptos-move/e2e-move-tests/**' | ||
- 'aptos-move/framework/**' | ||
- 'third_party/move/**' | ||
- '.github/workflows/move-test-compiler-v2.yaml' | ||
- '.github/actions/move-tests-compiler-v2/**' | ||
|
||
env: | ||
CARGO_INCREMENTAL: "0" | ||
CARGO_TERM_COLOR: always | ||
|
||
# cancel redundant builds | ||
concurrency: | ||
# cancel redundant builds on PRs (only on PR, not on branches) | ||
group: ${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.ref) || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Run Aptos Move tests. | ||
rust-move-tests: | ||
runs-on: high-perf-docker | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run Aptos Move tests with compiler V2 | ||
uses: ./.github/actions/move-tests-compiler-v2 | ||
with: | ||
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} |
Validating CODEOWNERS rules …
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.