-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (48 loc) · 1.25 KB
/
windows.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
name: Windows CI Test
on:
push:
branches: [main, master, dev]
pull_request:
branches: [main, master, dev]
permissions:
contents: read
jobs:
build:
runs-on: windows-2022
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
disable-telemetry: true
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: configure
run: |
cmake -H"." -Bbuild -T host=x86 -A x64 -DCMAKE_BUILD_TYPE="Debug"
- name: building
run: |
cmake --build build --config Debug --target ComponentsTests QueriesTests SystemsTests Vector2DTests
- name: run components unit tests
run: |
cd build
cd bin
cd Debug
.\ComponentsTests
- name: run queries unit tests
run: |
cd build
cd bin
cd Debug
.\QueriesTests
- name: run systems unit tests
run: |
cd build
cd bin
cd Debug
.\SystemsTests
- name: run systems vector2d tests
run: |
cd build
cd bin
cd Debug
.\Vector2DTests