mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Merge pull request #15573 from bdach/fix-android-builds
Fix Android builds failing due to Xamarin-side regression
This commit is contained in:
commit
e507fc8b9d
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -52,22 +52,29 @@ jobs:
|
|||||||
|
|
||||||
build-only-android:
|
build-only-android:
|
||||||
name: Build only (Android)
|
name: Build only (Android)
|
||||||
runs-on: windows-latest
|
runs-on: macos-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Pin Xamarin.Android version to 11.2 for now to avoid build failures caused by a Xamarin-side regression.
|
||||||
|
# See: https://github.com/xamarin/xamarin-android/issues/6284
|
||||||
|
# This can be removed/reverted when the fix makes it to upstream and is deployed on github runners.
|
||||||
|
- name: Set default Xamarin SDK version
|
||||||
|
run: |
|
||||||
|
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --android=11.2
|
||||||
|
|
||||||
- name: Install .NET 5.0.x
|
- name: Install .NET 5.0.x
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: "5.0.x"
|
dotnet-version: "5.0.x"
|
||||||
|
|
||||||
- name: Setup MSBuild
|
# Contrary to seemingly any other msbuild, msbuild running on macOS/Mono
|
||||||
uses: microsoft/setup-msbuild@v1
|
# cannot accept .sln(f) files as arguments.
|
||||||
|
# Build just the main game for now.
|
||||||
- name: Build
|
- name: Build
|
||||||
run: msbuild osu.Android.slnf /restore /p:Configuration=Debug
|
run: msbuild osu.Android/osu.Android.csproj /restore /p:Configuration=Debug
|
||||||
|
|
||||||
build-only-ios:
|
build-only-ios:
|
||||||
# While this workflow technically *can* run, it fails as iOS builds are blocked by multiple issues.
|
# While this workflow technically *can* run, it fails as iOS builds are blocked by multiple issues.
|
||||||
|
Loading…
Reference in New Issue
Block a user