Skip to content

Commit 4485b4b

Browse files
[Bugfix:System] Set CMAKE_CXX_STANDARD (#7)
* [Bugfix:System] Set CMAKE_CXX_STANDARD * test on both ubuntu and macos * Fix python testRunner Co-authored-by: poorna2152 <poorna2152@gmail.com>
1 parent 448c790 commit 4485b4b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ on: [push]
44
jobs:
55
test:
66
name: Test
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest]
811
steps:
912
- uses: actions/checkout@v2
1013
- name: Change permission
1114
run: chmod +x install_analysistoolsts.sh
1215
- name: Build executable
1316
run: sudo ./install_analysistoolsts.sh local
1417
- name: run tests
15-
run: python testRunner.py
18+
run: python3 testRunner.py

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake_minimum_required(VERSION 3.16.3)
2+
set (CMAKE_CXX_STANDARD 14)
23

34
project(analysis_tools_ts)
45

0 commit comments

Comments
 (0)