-
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.
use nix-based CI and cm_add_test_subdirectory
- Loading branch information
MALASHKIN Andrei
committed
May 15, 2024
1 parent
194e46f
commit b0a6b46
Showing
4 changed files
with
46 additions
and
81 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,28 +2,52 @@ name: PR Testing | |
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
push: | ||
branches: | ||
- master | ||
|
||
concurrency: | ||
# In master we want to run for every commit, in other branches — only for the last one | ||
group: ${{ | ||
( github.ref == 'refs/heads/master' && format('{0}/{1}/{2}', github.workflow, github.ref, github.sha) ) | ||
|| | ||
format('{0}/{1}', github.workflow, github.ref) }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
run-pull-request-actions: | ||
name: Reusable Crypto3 Testing | ||
uses: ./.github/workflows/pull-request-action.yml | ||
handle-syncwith: | ||
name: Call Reusable SyncWith Handler | ||
uses: NilFoundation/ci-cd/.github/workflows/[email protected] | ||
with: | ||
ci-cd-ref: 'v1.2.1' | ||
secrets: inherit | ||
|
||
test-linux: | ||
name: Linux Reusable Crypto3 Testing | ||
needs: | ||
- handle-syncwith | ||
uses: NilFoundation/crypto3/.github/workflows/reusable-submodule-testing-linux.yml@3de0775395bf06c0e4969ff7f921cc7523904269 | ||
|
||
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 | ||
crypto3_zk_commitment_proof_of_work_test | ||
submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | ||
check-names: | | ||
zk-clang | ||
# test-mac: | ||
# name: Mac Reusable Crypto3 Testing | ||
# needs: | ||
# - handle-syncwith | ||
# uses: NilFoundation/crypto3/.github/workflows/reusable-submodule-testing-mac.yml@3de0775395bf06c0e4969ff7f921cc7523904269 | ||
|
||
# secrets: inherit | ||
# with: | ||
# submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | ||
# check-names: | | ||
# hash-clang | ||
|
||
publish-results: | ||
name: Publish JUnit results | ||
needs: | ||
- test-linux | ||
uses: NilFoundation/crypto3/.github/workflows/reusable-publish-result.yml@3de0775395bf06c0e4969ff7f921cc7523904269 |
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