-
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.
Merge branch 'main' into metrics_count_warn_info
- Loading branch information
Showing
575 changed files
with
22,096 additions
and
5,527 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
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,26 @@ | ||
name: "Fuzzers test" | ||
|
||
on: | ||
pull_request: | ||
types: [labeled, opened, synchronize, reopened, auto_merge_enabled] | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-fuzzers: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Dependencies | ||
shell: bash | ||
run: | | ||
scripts/dev_setup.sh -b | ||
- name: Test Fuzzers | ||
shell: bash | ||
run: | | ||
cd testsuite/fuzzer && ./fuzz.sh test |
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,32 @@ | ||
name: "Keyless Circuit Daily Test" | ||
on: | ||
# Allow us to manually run this specific workflow without a PR | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "12 12 * * *" # at 12:12 UTC every day | ||
pull_request: | ||
paths: | ||
- ".github/workflows/keyless-circuit-daily-test.yaml" | ||
- "keyless/circuit/**" | ||
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-all-circuit-tests: | ||
runs-on: high-perf-docker | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # get all the history because cargo xtest --change-since origin/main requires it. | ||
- uses: ./.github/actions/rust-setup | ||
- run: | | ||
. keyless/circuit/tools/install-deps.sh | ||
cargo test -p aptos-keyless-circuit -- --nocapture |
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 |
---|---|---|
|
@@ -5,19 +5,20 @@ on: | |
workflow_dispatch: | ||
pull_request: | ||
types: [labeled, opened, synchronize, reopened, auto_merge_enabled] | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
# Run twice a day at 12PM PT and 8PM PT Monday through Friday | ||
- cron: "0 19,3 * * 1-5" | ||
# Run once a day at 12PM PT on Saturday and Sunday | ||
- cron: "0 19 * * 6,0" | ||
|
||
jobs: | ||
windows-build: | ||
runs-on: windows-latest-8-core | ||
runs-on: windows-latest | ||
if: | # Only run on each PR once an appropriate event occurs | ||
( | ||
github.event_name == 'workflow_dispatch' || | ||
github.event_name == 'push' || | ||
contains(github.event.pull_request.labels.*.name, 'CICD:run-windows-tests') || | ||
github.event.pull_request.auto_merge != null | ||
github.event_name == 'schedule' || | ||
contains(github.event.pull_request.labels.*.name, 'CICD:run-windows-tests') | ||
) | ||
defaults: | ||
run: | ||
|
@@ -34,8 +35,11 @@ jobs: | |
- name: Run cargo cache | ||
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # [email protected] | ||
|
||
- name: Install the developer tools | ||
run: PowerShell -ExecutionPolicy Bypass -File scripts/windows_dev_setup.ps1 | ||
- name: Set up WinGet | ||
run: Set-Variable ProgressPreference SilentlyContinue ; PowerShell -ExecutionPolicy Bypass -File scripts/windows_dev_setup.ps1 | ||
|
||
- name: Install the Developer Tools | ||
run: Set-Variable ProgressPreference SilentlyContinue ; PowerShell -ExecutionPolicy Bypass -File scripts/windows_dev_setup.ps1 -t | ||
|
||
# This is required for the openssl-sys crate to build. | ||
# See: https://github.com/sfackler/rust-openssl/issues/1542#issuecomment-1399358351 | ||
|
Oops, something went wrong.