Skip to content

Commit 32f31ae

Browse files
committed
Initial macOS Build support
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent a7bf6d5 commit 32f31ae

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-24.04
2323
strategy:
2424
matrix:
25-
rid: [linux-x64, win-x64]
25+
rid: [linux-x64, win-x64, osx-arm64]
2626

2727
steps:
2828
- name: Checkout Repository

.github/workflows/build-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
- name: win-x64 Build
7676
run: dotnet publish -p:PublishProfile=win-x64 -c Release -p:AssemblyVersion=${{ github.event.inputs.version }} -p:FileVersion=${{ github.event.inputs.version }} -o ./output/win-x64 ${{env.PROJECT_PATH}}
7777

78+
- name: osx-arm64 Build
79+
run: dotnet publish -p:PublishProfile=osx-arm64 -c Release -p:AssemblyVersion=${{ github.event.inputs.version }} -p:FileVersion=${{ github.event.inputs.version }} -o ./output/osx-arm64 ${{env.PROJECT_PATH}}
80+
7881
- name: flatpak-x86_64 Build
7982
env:
8083
APP_VERSION: ${{ github.event.inputs.version }}
@@ -87,6 +90,7 @@ jobs:
8790
run: |
8891
mkdir -p ./release
8992
mv ./output/win-x64/HedgeModManager.UI.exe ./release/HedgeModManager.exe
93+
mv ./output/osx-arm64/HedgeModManager.UI ./release/HedgeModManager
9094
mv ./flatpak/${{env.FLATPAK_ID}}.flatpak ./release/${{env.FLATPAK_ID}}.flatpak
9195
9296
- name: Create Release

0 commit comments

Comments
 (0)