-
Notifications
You must be signed in to change notification settings - Fork 89
47 lines (44 loc) · 1.15 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
name: Windows
on:
[push, pull_request]
jobs:
linux_build:
name: Build Nexus (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: true
version: '5.15.2'
- name: Install dependencies
run: |
cd ..
git clone --single-branch --branch devel https://github.com/cnr-isti-vclab/vcglib
echo "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC" >> $GITHUB_ENV
- name: Configure and Build
shell: bash
run: |
mkdir build
mkdir install
cd build
cmake -GNinja -DCMAKE_INSTALL_PREFIX=../install ..
ninja
ninja install
- name: Deploy
shell: bash
run: |
cd install/bin
windeployqt nxsview.exe
cd ..
mv bin nexus_portable
- name: Uploading Nexus Portable
uses: actions/upload-artifact@v3
with:
name: nexus_windows_portable
path: install/nexus_portable