-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (45 loc) · 1.41 KB
/
ci.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
51
name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: configure
run: |
cd ./tests/
g++ BaseStore_Tests.cpp -std=c++20 -o BaseStore_Tests
g++ BinaryOperations_Tests.cpp -std=c++20 -o BinaryOperations_Tests
g++ Coca_Tests.cpp -std=c++20 -o CocaTests
g++ Colon_Tests.cpp -std=c++20 -o Colon_Tests
g++ Concepts_Tests.cpp -std=c++20 -o Concepts_Tests
g++ Derivatives_Tests.cpp -std=c++20 -o Derivatives_Tests
g++ Helper_Tests.cpp -std=c++20 -o Helper_Tests
g++ Matrix_Tests.cpp -std=c++20 -o Matrix_Tests
g++ Rep_Tests.cpp -std=c++20 -o Rep_Tests
g++ Subsetting_Tests.cpp -std=c++20 -o Subsetting_Tests
g++ Unary_Tests.cpp -std=c++20 -o Unary_Tests
g++ Vector_Tests.cpp -std=c++20 -o Vector_Tests
g++ Borrow_Tests.cpp -std=c++20 -o Borrow_Tests
g++ CMR_Tests.cpp -std=c++20 -o CMR_Tests
- name: Run tests
run: |
cd ./tests/
./BaseStore_Tests
./BinaryOperations_Tests
./CocaTests
./Colon_Tests
./Concepts_Tests
./Derivatives_Tests
./Helper_Tests
./Matrix_Tests
./Rep_Tests
./Subsetting_Tests
./Unary_Tests
./Vector_Tests
./Borrow_Tests
./CMR_Tests