-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests on AWS runners, separate workflows for linux and mac. (#253)
* Separate linux-mac workflows, run on aws auto-scaling. * Temporarily disable most targets on mac.
- Loading branch information
Showing
5 changed files
with
97 additions
and
146 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,13 @@ | ||
# Needed to publish test results in fork | ||
name: Testing Callback | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["PR Testing"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
call-reusable-workflow: | ||
name: Call Reusable Testing Callback Workflow | ||
uses: NilFoundation/ci-cd/.github/workflows/[email protected] |
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,43 @@ | ||
name: Reusable PR testing for mac and linux | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
targets: | ||
type: string | ||
description: "Make and CTest targets. If not specified, everything is tested" | ||
required: false | ||
|
||
jobs: | ||
handle-syncwith: | ||
name: Call Reusable SyncWith Handler | ||
uses: NilFoundation/ci-cd/.github/workflows/[email protected] | ||
with: | ||
ci-cd-ref: 'v1.1.3' | ||
secrets: inherit | ||
|
||
matrix-test-linux: | ||
name: Linux Reusable Crypto3 Testing | ||
needs: | ||
- handle-syncwith | ||
uses: NilFoundation/ci-cd/.github/workflows/[email protected] | ||
|
||
secrets: inherit | ||
with: | ||
submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | ||
|
||
targets: ${{ inputs.targets }} | ||
|
||
matrix-test-mac: | ||
name: Mac Reusable Crypto3 Testing | ||
needs: | ||
- handle-syncwith | ||
uses: NilFoundation/ci-cd/.github/workflows/[email protected] | ||
|
||
secrets: inherit | ||
with: | ||
submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | ||
|
||
# TODO(martun): fix this sometime soon. All the targets must work on mac. | ||
targets: crypto3_zk_math_expression_test # ${{ inputs.targets }} | ||
|
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,28 @@ | ||
name: PR Testing | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
run-pull-request-actions: | ||
name: Reusable Crypto3 Testing | ||
uses: ./.github/workflows/pull-request-action.yml | ||
|
||
secrets: inherit | ||
with: | ||
targets: | | ||
crypto3_zk_commitment_fold_polynomial_test | ||
crypto3_zk_commitment_fri_test | ||
crypto3_zk_commitment_lpc_test | ||
crypto3_zk_commitment_kzg_test | ||
crypto3_zk_systems_plonk_placeholder_placeholder_test | ||
crypto3_zk_commitment_powers_of_tau_test | ||
crypto3_zk_commitment_proof_of_knowledge_test | ||
crypto3_zk_commitment_r1cs_gg_ppzksnark_mpc_test | ||
crypto3_zk_math_expression_test | ||
crypto3_zk_systems_plonk_plonk_constraint_test | ||
crypto3_zk_commitment_proof_of_knowledge_test | ||
crypto3_zk_transcript_transcript_test |
This file was deleted.
Oops, something went wrong.
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