-
-
Notifications
You must be signed in to change notification settings - Fork 41
51 lines (39 loc) · 1.18 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
49
50
51
name: windows
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up build variables
run: bash ./.github/scripts/setup_build_variables.sh
- name: Set up windows build variables
run: bash ./.github/scripts/windows/setup_windows_build_variables.sh
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '5.15.2'
host: 'windows'
install-deps: 'true'
arch: 'win64_msvc2019_64'
- name: Set up nmake
uses: ilammy/msvc-dev-cmd@v1
- name: Set up kColorPicker
run: bash ./.github/scripts/setup_kColorPicker.sh
- name: Set up GoogleTest
run: bash ./.github/scripts/setup_googleTest.sh
- name: Add GoogleTest bin dir to PATH
uses: myci-actions/export-env-var-powershell@1
with:
name: PATH
value: $env:PATH;$env:INSTALL_PREFIX/bin
- name: Build
run: bash ./.github/scripts/build_kImageAnnotator.sh
- name: Test
working-directory: ${{github.workspace}}/build/tests
run: ctest --extra-verbose