Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nilfoundation/crypto3-blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
nemothenoone committed Aug 9, 2022
2 parents 173bf85 + 9bd82cc commit 9f089df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 21 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,9 @@ jobs:
- name: Cmake and build
env:
CMAKE_ARGS: "
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Debug
-DBUILD_SHARED_LIBS=FALSE
-DBUILD_TESTS=TRUE
-DBUILD_WITH_NUMA=FALSE
-DBUILD_WITH_CUDA=FALSE
-DBUILD_WITH_OPENCL=FALSE
-DBUILD_WITH_SANITIZE=FALSE
-DBUILD_WITH_DPDK=FALSE
-DCRYPTO3_HASH_POSEIDON=FALSE
-DBUILD_EXAMPLES=TRUE
-DZK_PLACEHOLDER_PROFILING=TRUE
"
run: |
mkdir build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,25 @@ on:
branches: [ master ]

jobs:
autotag_version:
name: Auto tag version
set_version:
name: Set and tag version
runs-on: [ubuntu-latest]
env:
VERSION_FILE_NAME: VERSION
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Check if version was changed
uses: technote-space/get-diff-action@v6
with:
FILES: ${{ env.VERSION_FILE_NAME }}
- 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
if: ${{ env.MATCHED_FILES }}
run: |
version=$(cat ${{ env.VERSION_FILE_NAME }} | tr -d '\r')
git tag v$version
run: git tag v${{ env.VERSION }}

- name: Push tags
if: ${{ env.MATCHED_FILES }}
uses: ad-m/github-push-action@master
with:
tags: true
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0

0 comments on commit 9f089df

Please sign in to comment.