Trouv / willos-graveyard

Sokoban puzzle game made for GMTK 2021 game jam - Joined Together
3 stars 0 forks source link

build: use lld instead of zld in MacOS builds #124

Closed Trouv closed 1 year ago

Trouv commented 1 year ago

The most recent release CI for this game failed for MacOS (but succeeded elsewhere): https://github.com/Trouv/willos-graveyard/actions/runs/6729366432/job/18290122998

In particular, it failed to install zld, a linker available for MacOS. It turns out that this linker has been archived, and now bevy recommends just using llvm/lld for mac fast-compile: https://bevyengine.org/learn/book/getting-started/setup/#enable-fast-compiles-optional

This PR resolves this by switching the cargo config to use lld on mac, and the CI to install llvm before build.