-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change agent to mac-os latest #609
Change agent to mac-os latest #609
Conversation
8a96de2
to
dc86b74
Compare
.github/workflows/build.yml
Outdated
@@ -14,7 +14,7 @@ env: | |||
jobs: | |||
build: | |||
name: Build | |||
runs-on: ubuntu-latest | |||
runs-on: macOS-latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a limit on mac-os agents per repo, makes sense to check of we can merge with instrumentation tests (both variants). Definitely makes sense to merge with Publication verification
, both builds all libs, the second one just does simple job on packing and posting to local folder. It will reduce amount of unique caches. But fine to do as a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest instead separately into even more granular jobs instead.
i.e. a job that builds:
- Android (ubuntu)
- Web (ubuntu)
- Desktop (ubuntu)
- iOS (mac)
or at the very least split iOS build into its own job instead. This will reduce the amount of agents used overall by parallel PRs as the iOS build job would finish a lot faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest instead separately into even more granular jobs instead.
It is such a pain to set up and support it 😭 either specifying manually all platform related tasks, or relying on filtering plugins (trust me, but this particular approach does not work anymore because of Gradle updates).
If you are ready to do it, will support you!
.github/workflows/build.yml
Outdated
@@ -162,7 +162,7 @@ jobs: | |||
|
|||
check-documentation: | |||
name: Check documentation | |||
runs-on: ubuntu-latest | |||
runs-on: macOS-latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation builds only JS, it is fine to stay on ubuntu.
.github/workflows/documentation.yml
Outdated
@@ -9,7 +9,7 @@ on: | |||
jobs: | |||
deploy: | |||
name: Deploy | |||
runs-on: ubuntu-latest | |||
runs-on: macOS-latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation builds only JS, it is fine to stay on ubuntu.
Also this one does not have Generate distributions
step from check.
gradle/libs.versions.toml
Outdated
coroutines = "1.6.4" | ||
dependencyAnalysis = "1.13.1" | ||
detekt = "1.21.0" | ||
junit5 = "5.8.2" | ||
jvmTarget = "11" | ||
kotlin = "1.8.10" | ||
ksp = "1.8.0-1.0.8" | ||
kotlin = "1.9.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too early, we might not be able to use this version internally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, was testing a fix for an issue https://youtrack.jetbrains.com/issue/KT-60230/Native-unknown-options-iossimulatorversionmin-sdkversion-with-Xcode-15-beta-3 which was fixed in 1.9.10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can set xcode version to the one that is currently supported (idk which one on 1.8, just try)
https://github.com/badoo/Reaktive/blob/master/.github/workflows/build.yml#L27
35bc01c
to
090a244
Compare
090a244
to
7b9ce51
Compare
Description
Release action can not publish iOS targets since the agent is not a macOS. We need to change agents to support that.
Check list
CHANGELOG.md
if required.