use nix-based CI and cm_add_test_subdirectory #285
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
name: PR Testing | ||
on: | ||
pull_request: | ||
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: | ||
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@6d74f39255dd6d13542e97fbf2547565419bdc47 | ||
Check failure on line 29 in .github/workflows/pull-request.yml GitHub Actions / .github/workflows/pull-request.ymlInvalid workflow file
|
||
secrets: inherit | ||
with: | ||
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@6d74f39255dd6d13542e97fbf2547565419bdc47 | ||
# secrets: inherit | ||
# with: | ||
# submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | ||
# check-names: | | ||
# zk-clang | ||