-
Notifications
You must be signed in to change notification settings - Fork 47
46 lines (36 loc) · 1.08 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
name: windows-build
on: [push, pull_request]
jobs:
windows-build-gui:
strategy:
matrix:
qtversion: [5.12.8, 5.14.2]
runs-on: windows-2016
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: ${{ matrix.qtversion }}
target: desktop
host: windows
arch: win64_msvc2017_64
install-deps: true
- name: Configure
working-directory: bin
run: |
cmake ..\Superbuild -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 15 2017" -Ax64 -DQt5_PATH:PATH="$env:Qt5_Dir" -DBUILD_WITH_PYTHON:BOOL=OFF
- name: Compile
working-directory: bin
shell: cmd
run: cmake --build . --config Release -j 3
- name: Package
working-directory: bin/Seg3D
shell: cmd
run: cmake --build . --config Release --target package
- name: Upload installer
uses: actions/upload-artifact@v2
with:
name: Seg3DWindowsInstaller_${{ matrix.qtversion }}
path: bin/Seg3D/Seg3D2-2.*-win64.exe