-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03abed1
commit fa81375
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Build macOS | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: # Manual trigger | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-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 -spec macx-clang -config release | ||
|
||
- name: Build the project | ||
run: make | ||
|
||
- name: Package the application | ||
run: macdeployqt DXUI-Installer.app -dmg | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: DXUI-Installer-macOS | ||
path: DXUI-Installer.dmg |