Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More macOS build fixes
Browse files Browse the repository at this point in the history
psyGamer committed Jun 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent ab35158 commit d657ab6
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CelesteStudio.Build.yml
Original file line number Diff line number Diff line change
@@ -66,10 +66,12 @@ jobs:
with:
dotnet-version: '8.0'
- name: Install macOS workflow
run: dotnet workload install macos
run: dotnet workload install macos && dotnet workload restore
- name: Switch XCode
run: sudo xcode-select -switch /Applications/Xcode_15.1.app/Contents/Developer

- name: Publish x64
run: dotnet publish Studio/CelesteStudio.Mac -c Release -r osx-x64 --self-contained=true /p:PublishSingleFile=true --output publish-osx-x64
run: dotnet publish Studio/CelesteStudio.Mac -c Release --output publish-osx-x64
- name: Publish ARM64
run: dotnet publish Studio/CelesteStudio.Mac -c Release -r osx-arm64 --self-contained=true /p:PublishSingleFile=true --output publish-osx-arm64

2 changes: 1 addition & 1 deletion Studio/CelesteStudio.Mac/CelesteStudio.Mac.csproj
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net7.0-macos</TargetFramework>

<SupportedOSPlatformVersion>10.15</SupportedOSPlatformVersion>
<RuntimeIdentifiers>osx-x64;osx-arm64</RuntimeIdentifiers>

0 comments on commit d657ab6

Please sign in to comment.