-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 928 Bytes
/
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
name: Build Windows
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch: # Manual trigger
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Qt
uses: jurplel/install-qt-action@v2
with:
version: '6.7.1' # Adjust the version as needed
- name: Set up MSVC environment
run: |
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat`" x64 && set"
- name: Generate Makefile
run: qmake -tp vc -config release
- name: Build the project
run: nmake
- name: Package the application
run: windeployqt DXUI-Installer.exe
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: DXUI-Installer-Windows
path: DXUI-Installer.exe