-
Notifications
You must be signed in to change notification settings - Fork 35
45 lines (38 loc) · 1.08 KB
/
win64.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
name: win64
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.5.*
modules: qtwebengine qtwebchannel qtpositioning
- name: Build kleiner-brauhelfer-2
shell: cmd
run: |
for /f "usebackq delims=#" %%a in (`"%PROGRAMFILES(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -property installationPath`) do set VSPATH=%%a
call "%VSPATH%\VC\Auxiliary\Build\vcvars64.bat"
mkdir build
mkdir deploy
cd build
"%Qt6_Dir%\bin\qmake.exe" "..\kleiner-brauhelfer-2.pro" -config release
nmake
cd bin
copy "kleiner-brauhelfer-2.exe" "../../deploy"
cd ../..
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: kleiner-brauhelfer-2
path: deploy