-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (42 loc) · 1.31 KB
/
run-tests-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Run tests on Linux
on:
push:
branches: [ master ]
pull_request:
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:
build-and-test:
name: Run tests workflow on Release build
runs-on: [ self-hosted, Linux, X64, aws_autoscaling ]
steps:
# https://github.com/actions/checkout/issues/1552
- name: Clean up after previous checkout
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*;
- name: Checkout zkEVM-framework
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: false
- name: Checkout submodules
run: |
git submodule update --init --recursive --depth=1
- name: Configure CMake
#env:
# BOOST_ROOT: "${{ steps.install-boost.outputs.BOOST_ROOT }}"
run: |
cmake . \
-G "Ninja" \
-B build \
-DCMAKE_BUILD_TYPE=Release
- name: Build assigner
run: |
cmake --build build
- name: Run checks
run: nix flake -L check