forked from msoeken/kitty
-
Notifications
You must be signed in to change notification settings - Fork 51
62 lines (55 loc) · 1.4 KB
/
DTIS_project.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
52
53
54
55
56
57
58
59
60
61
62
name: DTIS project CI tests
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build kitty
run: |
mkdir build
cd build
cmake -DKITTY_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests --gtest_filter=TFI_test*
build-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build kitty
run: |
mkdir build
cd build
cmake -DKITTY_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests --gtest_filter=TFI_test*
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Create build directory
run: mkdir build
- name: Run CMake
run: cmake -G "Visual Studio 16 2019" -DKITTY_TEST=ON ..
working-directory: ./build
- name: Build kitty
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" kitty.sln /t:run_tests
working-directory: ./build
shell: cmd
- name: Run tests
run: |
cd build
.\test\Debug\run_tests --gtest_filter=TFI_test*