Commit Graph

27 Commits

Author SHA1 Message Date
Michael Bull
da96ceef8e Add more build targets for coroutines extensions
kotlinx-coroutines has since started publishing more native build
targets since we first became multiplatform. This commit ensures we also
build native targets for the platforms that were previously missing,
namely:

- androidNativeArm32
- androidNativeArm64
- androidNativeX64
- androidNativeX86
- linuxArm64
- wasmJs

This ensures that we are now supporting all three tiers of Kotlin/Native
target support.

See: https://kotlinlang.org/docs/native-target-support.html
2024-03-03 15:24:15 +00:00
Michael Bull
a4fe9f6fa8 Set env vars only on publish step 2024-03-03 14:51:03 +00:00
Michael Bull
8893187a3a Pin GitHub actions by commit hash
See: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
2024-03-03 14:49:28 +00:00
Michael Bull
ebf7eedb14 Add names to workflow jobs 2024-03-03 14:24:20 +00:00
Michael Bull
76a69a50e8 Merge GitHub workflows 2024-03-03 06:16:38 +00:00
Michael Bull
67990a3b0b Stop running build workflow twice on push to master
The deploy workflow depends on the build one, so it is already
responsible for running it via workflow_call.
2024-03-03 00:17:47 +00:00
Michael Bull
a90c0fc92e Update github actions 2024-03-03 00:16:33 +00:00
Michael Bull
fca4ec6cab Merge tasks into single runner in workflows 2024-03-02 21:33:27 +00:00
Michael Bull
350ef94e5d Run deploy workflow on every push to master 2024-03-02 19:49:01 +00:00
Michael Bull
402999a1da Refactor Gradle workflows
Uses the actions found in the Kotlin mpp template gallery[1].

[1] https://kmp.jetbrains.com/#templateGallery
2024-03-02 19:18:07 +00:00
Michael Bull
d3d0381d2c Restrict CI workflow permissions to readonly contents 2024-03-02 18:13:29 +00:00
Michael Bull
13dfdae6ab Only run CI workflow on master branch 2024-03-02 18:13:29 +00:00
Michael Bull
05a1e91298 Update Kotlin to 1.9.20
Adopts the new default project template[1] and removed mpp targets[2].

[1] https://kotlinlang.org/docs/whatsnew1920.html#template-for-configuring-multiplatform-projects
[2] https://kotlinlang.org/docs/whatsnew1920.html#change-to-our-target-tiers-policy

See: https://kotl.in/native-targets-tiers
2024-01-23 13:14:37 +00:00
Matthew Nelson
6f86d20d53 Add more multiplatform build targets
Closes #77, #81
2023-01-09 10:57:12 +00:00
Michael Bull
fd1b414ef7 Cache ~/.konan directory in publish workflow 2022-01-08 14:15:25 +00:00
Michael Bull
b3f1edc369 Cache ~/.konan on CI
See: https://kotlinlang.org/docs/native-improving-compilation-time.html#general-recommendations
2022-01-08 13:09:54 +00:00
Michael Bull
0ded6905c3 Use macos-11 in CI workflow
See: https://github.com/actions/virtual-environments/issues/2638
2022-01-08 12:54:35 +00:00
Michael Bull
e5c47a46b5 Rename check workflow to build 2021-12-28 17:04:50 +00:00
Michael Bull
a511d6ae8e Run build instead of check on ci 2021-12-27 23:22:10 +00:00
Avently
c4c70b4d98 Add Linux, Windows and MacOS targets 2021-03-29 18:41:20 +01:00
Michael Bull
b2505667d1 Run check on Ubuntu & iosX64Test on macOS 2021-02-10 22:54:59 +00:00
Tristan Hamilton
ccb9c5b3aa Add iOS build targets 2021-02-10 15:45:16 +00:00
Michael Bull
89c1b8a6fb Configure publish job to only run on push events 2021-01-30 17:08:00 +00:00
Michael Bull
3b75ebd6e4 Merge ci & publish workflows 2021-01-30 17:00:12 +00:00
Michael Bull
6bce98aa2b Add publish GitHub action 2021-01-30 16:48:05 +00:00
Michael Bull
41269f06d3 Extract dependency versions to Versions object in buildSrc 2020-08-26 19:52:18 +01:00
Michael Bull
b3dbc36b76 Replace travis with github actions 2019-12-20 14:51:24 +00:00