-
Notifications
You must be signed in to change notification settings - Fork 9
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
14 changed files
with
333 additions
and
102 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
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 | ||
default: "" | ||
|
||
jobs: | ||
handle-syncwith: | ||
name: Call Reusable SyncWith Handler | ||
uses: NilFoundation/ci-cd/.github/workflows/reusable-handle-syncwith.yml@v1.2.0 | ||
with: | ||
ci-cd-ref: 'v1.2.0' | ||
secrets: inherit | ||
|
||
matrix-test-linux: | ||
name: Linux Reusable Crypto3 Testing | ||
needs: | ||
- handle-syncwith | ||
uses: NilFoundation/ci-cd/.github/workflows/reusable-crypto3-testing-linux.yml@v1.2.0 | ||
|
||
secrets: inherit | ||
with: | ||
submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | ||
targets: ${{ inputs.targets }} | ||
concurrency: 1 # hash tests take too much RAM. | ||
|
||
# Temporarily disable mac tests, they fail. | ||
# matrix-test-mac: | ||
# name: Mac Reusable Crypto3 Testing | ||
# needs: | ||
# - handle-syncwith | ||
# uses: NilFoundation/ci-cd/.github/workflows/reusable-crypto3-testing-mac.yml@v1.2.0 | ||
# | ||
# secrets: inherit | ||
# with: | ||
# submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }} | ||
# targets: ${{ inputs.targets }} | ||
# concurrency: 1 # hash tests take too much RAM. |
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,30 @@ | ||
name: Set version | ||
|
||
on: | ||
# Triggers the workflow on push to master branch | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
set_version: | ||
name: Set and tag version | ||
runs-on: [ubuntu-latest] | ||
env: | ||
VERSION_FILE_NAME: VERSION | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set version | ||
id: set_version | ||
run: | | ||
version=$(cat ${{ env.VERSION_FILE_NAME }} | tr -d '\r').$GITHUB_RUN_NUMBER | ||
echo "VERSION=$version" >> $GITHUB_ENV | ||
- name: Tag new version | ||
run: git tag v${{ env.VERSION }} | ||
|
||
- name: Push tags | ||
uses: ad-m/github-push-action@master | ||
with: | ||
tags: true |
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
Oops, something went wrong.