build(ci): publish artifacts to Terasology artifactory#20
build(ci): publish artifacts to Terasology artifactory#20skaldarnar merged 8 commits intoMovingBlocks:masterfrom
Conversation
| build/natives/*/*.dll | ||
| build/natives/*/*.dylib | ||
| build-macos-amd64: | ||
| runs-on: macos-12 |
There was a problem hiding this comment.
would this also work with mac OS 14?
There was a problem hiding this comment.
macos-12 is the standard for macos-latest for GitHub-hosted runners and translates to an amd64 Intel-based Mac.
macos-14 is currently a beta runner and translates to an M1 CPU (Apple Silicion).
Thus, the workflow is using "the latest macOS runner" (macos-12) and a "beta runner for M1" (macos-14).
I gave it a test on my M1 Mac, and it looks like ./gradlew buildNatives is able to build both targets for Apple Silicon (aarch64) and older Intel-based Macs (amd64) on the same machine. So maybe we can use just macos-14 here 🤔
There was a problem hiding this comment.
might be worth at least a try.
otherwise, maybe add a code comment with the explanation you just shared
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
| build/natives/*/*.dll | ||
| build/natives/*/*.dylib | ||
| build-macos-amd64: | ||
| runs-on: macos-12 |
There was a problem hiding this comment.
might be worth at least a try.
otherwise, maybe add a code comment with the explanation you just shared
After some experimentation on my fork I finally got a successful workflow run that published artifacts for 1.0.4-SNAPSHOT, including the zipped native libraries for Windows, Mac, and Linux.
I've already added the respective Secrets to the repository.
Contributes to MovingBlocks/Terasology#5055.