Skip to content

Commit

Permalink
Workflows: add Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ParsaAslaniYC authored Oct 6, 2024
1 parent fa81375 commit fc6f48e
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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: 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

0 comments on commit fc6f48e

Please sign in to comment.