Bartłomiej Dach
ee6dcbd808
Fix android build again
...
Another month, another freak android build failure.
From what I can tell, this time the build is broken because the second-
-to-last workaround applied to fix it, namely explicitly specifying
the version of workloads to install, stopped working, presumably because
github pushed a new .NET SDK version to runners, and microsoft didn't
actually put up a set of workload packages whose version matches the
.NET SDK version 1:1.
Thankfully, the fix to the *last* android build breakage (which caused
the workload installation to completely and irrecoverably fail), appears
to be rolling out this week, and *also* fix that same second-last issue,
so both workarounds of specifying the workload version and pinning the
image to `windows-2019` appear to no longer be required.
Note that the newest image version, 20250209.1.0, is still not fully
rolled out yet, thus rather than just fix all builds, this will fix like
20% of builds until the newest image is fully rolled out. But I guess
a 20% passing build is better than a 0% passing build, in a sense...?
2025-02-12 14:18:03 +01:00
Bartłomiej Dach
b4e8a17f03
Roll back windows build image to 2019 on android build job
...
Per workaround suggested in
https://github.com/actions/runner-images/issues/11402#issuecomment-2596473501 .
Applying this now as my hopes for a swift resolution without changes on
our side are slim to none (read thread linked above in full to learn
why).
2025-01-23 10:12:30 +01:00
Salman Alshamrani
19e396f878
Fix android workflow not installing .NET 8 version
2024-11-27 23:46:21 -05:00
Dan Balasescu
02deb39335
Make android build on non-maui workflow
2024-11-18 17:20:11 +09:00
Dan Balasescu
4b9f9b9be5
Update GHA
2024-11-06 14:02:01 +09:00
Dan Balasescu
232381c9fb
Rollback iOS workload to last known working version
2024-10-05 23:00:04 +09:00
Dan Balasescu
cb51e12d13
Fix iOS CI build
2024-09-27 16:26:11 +09:00
Salman Ahmed
e12dba24ae
Remove macOS/Xcode version pinning in iOS workflow
2024-08-08 13:03:09 +03:00
Dean Herbert
4cc07badbd
Disable macOS test runs for now
...
We are seeing update frames run as little as [once per
second](aa4d16bdb8/osu.Game/Overlays/BeatmapListingOverlay.cs (L141)
).
Until we can ascertain why this is happening, let's reduce developer
stress by not running macOS tests for now.
2024-07-25 09:05:58 +09:00
Dan Balasescu
7bb680a8a4
Raise workflow timeout time
...
https://github.com/ppy/osu/actions/runs/9985890747/job/27597500883
2024-07-18 16:26:40 +09:00
Bartłomiej Dach
99bbbf810b
Update github actions to resolve most node deprecation warnings
...
As is github tradition, workflows started yelling about running on a
node version that was getting sunset, so here we go again.
Relevant bumps:
- https://github.com/actions/checkout/releases/tag/v4.0.0
- https://github.com/actions/setup-dotnet/releases/tag/v4.0.0
- https://github.com/actions/cache/releases/tag/v4.0.0
- https://github.com/actions/setup-java/releases/tag/v4.0.0
- https://github.com/peter-evans/create-pull-request/releases/tag/v6.0.0
- https://github.com/dorny/test-reporter/releases/tag/v1.8.0
Notably, `actions/upload-artifact` is _not_ bumped to v4, although it
should be to resolve the node deprecation warnings, because it has more
breaking changes and bumping would break `dorny/test-reporter`
(see https://github.com/dorny/test-reporter/issues/363 ).
2024-02-22 17:18:10 +01:00
Dan Balasescu
ec4f3577c0
Use Xcode 15.2
2024-02-02 21:28:52 +09:00
Dan Balasescu
a217a7f8cf
Adjust CI workflows
2024-02-02 21:28:51 +09:00
Rowe Wilson Frederisk Holme
9fd0641238
Remove manual changes to Xcode versions in CI
2023-11-23 01:18:55 +08:00
Bartłomiej Dach
aa72407065
Fix android compile failures due to invalid java version
...
See https://github.com/ppy/osu-framework/pull/6057 .
2023-11-22 07:55:41 +09:00
Bartłomiej Dach
745341ca6b
Fix iOS build workflow failing
...
A new version of `Microsoft.iOS.Sdk` was released on
2023-05-09T17:28:41.7300000. This version requires Xcode 14.3, which is
not currently available on `macos-latest` runners (which currently alias
to `macos-12`).
To fix, migrate to `macos-13`, which is currently in beta, and
explicitly use Xcode 14.3 (because even on the `macos-13` image, Xcode
14.3 is not yet the default).
2023-05-09 21:59:24 +02:00
Mohammed Keyvanzadeh
433f9e5367
fixup! revert formatting changes
2023-03-27 18:37:01 +03:30
Mohammed Keyvanzadeh
3d032d0024
github: update workflows and make tweaks
...
- Update the GitHub Actions workflows to their latest versions.
- Replace the usage of the deprecated `set-output` command with the
new recommended way to set the output.
- Format the YAML files.
2023-03-27 18:10:32 +03:30
Salman Ahmed
4d4dfd9e8b
Fix iOS workflow still targeting old Xcode version
2023-01-25 02:15:08 +03:00
Dean Herbert
d3995693a0
Use maui-android
2022-12-19 16:47:10 +09:00
Dean Herbert
877413524f
Cherry-picked android changes from #17462
2022-12-19 15:46:54 +09:00
Salman Ahmed
4dbc1c3cb0
Manually use Xcode 14.1
2022-12-17 03:30:25 +03:00
Salman Ahmed
d74478ce3b
Pin workflow to macOS 12
2022-12-17 03:00:59 +03:00
Salman Ahmed
2c78fed5e4
Update workflows in line with framework changes
2022-12-16 00:22:11 +03:00
Dean Herbert
cff38e532a
Attempt to remove console output
2022-10-07 23:25:20 +09:00
Alex
38f0524e88
build: harden ci.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 18:00:28 +02:00
Dean Herbert
431e84f992
Cancel in progress CI runs when new commits are pushed
...
Same as https://github.com/ppy/osu-web/pull/9268 .
Should hopefully help with organisation concurrent limits.
2022-09-12 19:09:46 +09:00
Salman Ahmed
0cfaef3605
Remove iOS build CI workaround
2022-07-01 11:21:52 +03:00
Salman Ahmed
5e594e4de0
Work around macOS agent regression affecting iOS CI builds
2022-06-20 06:54:15 +03:00
Dan Balasescu
42c97baa97
Cache bust on more files
2022-06-17 17:55:58 +09:00
Bartłomiej Dach
9141a7a907
Revert Xamarin regression workaround in Android CI build definition
...
This commit is a revert of 53e52d2c4b
.
Partially done because the workaround is no longer needed, partially
because macOS images have begun to fail after a new image rollout with
bumped NuGet versions.
2022-06-16 21:03:29 +02:00
Dan Balasescu
88376da2cf
Run template tests on CI
2022-06-16 13:47:30 +09:00
Jai Sharma
e990a24723
Remove redundant installation of libavformat
in Linux CI runs
...
Linux `libavformat` native libraries are now packaged with framework.
2022-05-23 21:52:29 +01:00
Dan Balasescu
3bca014b52
Bust CI cache on CodeAnalysis ruleset changes
2022-05-19 09:44:11 +09:00
Dan Balasescu
a46894b613
Bust CI cache on more files
2022-05-11 18:27:57 +09:00
Huo Yaoyuan
30ffc7b23f
Remove dotnet-format
2022-05-06 01:28:30 +08:00
Huo Yaoyuan
aafb363a34
Only enable EnforceCodeStyleInBuild in CI
2022-05-06 01:24:19 +08:00
Huo Yaoyuan
a17bbd62b7
Disable EnforceCodeStyleInBuild in Xamarin CI run
2022-05-04 14:06:01 +08:00
Dan Balasescu
b4c208be63
Move Code Quality check to top of checks list
2022-04-21 15:34:01 +09:00
Dan Balasescu
46cce94a75
Add inspectcode CI cache
2022-04-14 14:34:43 +09:00
Dan Balasescu
9c28c5b847
Upgrade to Resharper 2022.1.0-EAP10
2022-04-14 11:52:05 +09:00
Dean Herbert
c5019fefb0
Update CI runs to target net6.0
2022-02-14 22:35:08 +09:00
Salman Ahmed
d18417aa27
Enable build-only iOS CI
2021-11-30 18:41:04 +03:00
Dan Balasescu
eff1293b5b
Revert "Run nunit in blame mode"
...
This reverts commit 215c179b92
.
2021-11-24 15:26:40 +09:00
Dan Balasescu
215c179b92
Run nunit in blame mode
2021-11-19 16:16:20 +09:00
Bartłomiej Dach
53e52d2c4b
Fix Android builds failing due to Xamarin-side regression
2021-11-11 10:14:50 +01:00
Bartłomiej Dach
5f2c5770d4
Add build-only CI jobs for mobile platforms
2021-10-24 17:41:40 +02:00
smoogipoo
e12249f127
Exclude empty lines
2021-10-13 17:56:33 +09:00
smoogipoo
5e934cdd2b
Make CFS error and fail the job
2021-10-13 17:43:29 +09:00
Bartłomiej Dach
d2d0f3bf9b
Set more appropriate build time limits for GH Actions workflows
2021-06-23 17:58:55 +02:00