Skip to content

Build all artifacts in a single MacOS environment #116

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

Closed
petertrr opened this issue Jun 22, 2024 · 2 comments · Fixed by #139
Closed

Build all artifacts in a single MacOS environment #116

petertrr opened this issue Jun 22, 2024 · 2 comments · Fixed by #139

Comments

@petertrr
Copy link
Owner

petertrr commented Jun 22, 2024

Thanks for the cross-compilation support, it is possible to build artifacts for all the required platforms from a MacOS machine. This should be used for the release workflow. For the regular CI workflow, a Linux machine should be kept.

As a side task, automatic creation of a Github release should be made optional. Github supports creation of a tag and a release from the Web UI, which is oftentimes more convenient than manual creation of a tag from git.

@lppedd
Copy link
Contributor

lppedd commented Jan 20, 2025

Since Kotlin 2.1 it is possible to cross-compile every K/N target from a single host (e.g. Linux), by enabling

kotlin.native.enableKlibsCrossCompilation

https://youtrack.jetbrains.com/issue/KT-71290

@lppedd
Copy link
Contributor

lppedd commented Jan 20, 2025

Tested under lppedd#3 btw, seems to work as expected.

You'll have to adjust the publishing step tho.

petertrr added a commit that referenced this issue May 6, 2025
…nment (#139)

* Run release workflow on a single Linux machine
* Remove condition for overlapping publications
* Update RELEASING.md

Closes #116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants