-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 919 Bytes
/
check.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
name: check
on: push
jobs:
check:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-13]
include:
- os: windows-latest
path_to_exe: ./build/Debug/RangeShifter.exe
- os: ubuntu-latest
path_to_exe: ./build/RangeShifter
- os: macos-13
path_to_exe: ./build/RangeShifter
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: build
run: |
mkdir build
cd build
cmake ../
cmake --build .
- name: run
run: ${{ matrix.path_to_exe }} run_on_gha/rs_test_project/
- name: check_output
if: ${{ matrix.os != 'macos-13' }} # no check until I get access to a machine with Xcode 15
run: |
cd ./run_on_gha/rs_test_project
# bash check_output.bash # disable until new genetics stable