Skip to content

Commit 2710a53

Browse files
authored
Merge branch 'master' into path-repeated-segment
2 parents 66fb428 + 1ea6a50 commit 2710a53

File tree

56 files changed

+424
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+424
-90
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129

130130
build-only-ios:
131131
name: Build only (iOS)
132-
runs-on: macos-latest
132+
runs-on: macos-15
133133
timeout-minutes: 60
134134
steps:
135135
- name: Checkout
@@ -141,7 +141,12 @@ jobs:
141141
dotnet-version: "8.0.x"
142142

143143
- name: Restore .NET workloads
144-
run: dotnet workload install ios --from-rollback-file workloads.json
144+
run: dotnet workload install ios
145+
146+
# https://github.com/dotnet/macios/issues/19157
147+
# https://github.com/actions/runner-images/issues/12758
148+
- name: Use Xcode 16.4
149+
run: sudo xcode-select -switch /Applications/Xcode_16.4.app
145150

146151
- name: Compile
147152
run: dotnet build -c Debug osu-framework.iOS.slnf

.github/workflows/deploy-pack.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147

148148
pack-ios:
149149
name: Pack (iOS)
150-
runs-on: macos-latest
150+
runs-on: macos-15
151151
environment: production
152152
defaults:
153153
run:
@@ -166,7 +166,12 @@ jobs:
166166
dotnet-version: "8.0.x"
167167

168168
- name: Restore .NET Workloads
169-
run: dotnet workload install ios --from-rollback-file workloads.json
169+
run: dotnet workload install ios
170+
171+
# https://github.com/dotnet/macios/issues/19157
172+
# https://github.com/actions/runner-images/issues/12758
173+
- name: Use Xcode 16.4
174+
run: sudo xcode-select -switch /Applications/Xcode_16.4.app
170175

171176
- name: Pack (iOS Framework)
172177
run: dotnet pack -c Release osu.Framework.iOS /p:Version=${{ github.ref_name }} /p:GenerateDocumentationFile=true -o ${{steps.artifactsPath.outputs.nuget_artifacts}}

osu.Framework.Android/AndroidGameSurface.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ private void init()
4646

4747
public bool IsSurfaceReady => isSurfaceReady;
4848

49-
public override void HandlePause()
49+
protected override void HandlePause()
5050
{
5151
base.HandlePause();
5252
isSurfaceReady = false;
5353
}
5454

55-
public override void HandleResume()
55+
protected override void HandleResume()
5656
{
5757
base.HandleResume();
5858
isSurfaceReady = true;

osu.Framework.Android/AndroidGameWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace osu.Framework.Android
99
{
1010
internal class AndroidGameWindow : SDL3MobileWindow
1111
{
12-
public override IntPtr SurfaceHandle => AndroidGameActivity.Surface.NativeSurface?.Handle ?? IntPtr.Zero;
12+
public override IntPtr SurfaceHandle => AndroidGameActivity.Surface.Holder?.Surface?.Handle ?? IntPtr.Zero;
1313

1414
public AndroidGameWindow(GraphicsSurfaceType surfaceType, string appName)
1515
: base(surfaceType, appName)
-1.82 KB
Binary file not shown.
-21.3 KB
Binary file not shown.
-4.98 KB
Binary file not shown.
-17.3 MB
Binary file not shown.
4.76 KB
Binary file not shown.
-14.7 MB
Binary file not shown.

0 commit comments

Comments
 (0)