-
Notifications
You must be signed in to change notification settings - Fork 21
51 lines (38 loc) · 1.17 KB
/
tests.yaml
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: Tests
on:
push: {}
pull_request:
branches: ["main"]
env:
BUILD_TYPE: Release
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Install gtest manually
run: sudo apt-get install libgtest-dev
- uses: actions/checkout@v3
- name: run cmake
working-directory: ${{github.workspace}}/
run: cmake -B./build .
- name: make
working-directory: ${{github.workspace}}/build
run: make
- name: Test task 01
working-directory: ${{github.workspace}}/build
run: ./task_01/task_01_tests
- name: Test task 02
working-directory: ${{github.workspace}}/build
run: ./task_02/task_02_tests
- name: Test task 03
working-directory: ${{github.workspace}}/build
run: ./task_03/task_03_tests
- name: Test task 04
working-directory: ${{github.workspace}}/build
run: ./task_04/task_04_tests
- name: Test task 05
working-directory: ${{github.workspace}}/build
run: ./task_05/task_05_tests
- name: Test task 06
working-directory: ${{github.workspace}}/build
run: ./task_06/task_06_tests