[CI] Mac OS build#1052
Conversation
GitHub Actions provides readily available Mac OS (and Windows) builds, so we should prevent the habitual Mac OS breakage from here on out. Differences from README: * ccache for obvious reasons (faster builds) * md5sha1sum caused some conflict with coreutils
|
What glib/gettext issue? ^^ |
|
glib apparently can't find the gettext that was just built right prior to it: |
|
Would ideally need glib's configure config.log ;). #1000 should take care of the actual build (i.e., we do rely on brew's gettext, not our own). I don't remember ever having to modify my PATH, but it's been a while (but since I use ZSH, I certainly wouldn't have recommended updating Bash's profile ;p). That said, that might be a hint: export PATH for real, don't rely on a profile that might not be used by the CI. |
|
Ftr, I simply copied what it said in https://github.com/koreader/koreader/blob/7b1ae4e486b9a920c0553cd654adc08668265116/doc/Building.md#macos ;-) |
|
It's entirely possible that I do actually have /usr/local/* in front of my own PATH in my macOS ZSH setup, though, let me check ;). |
|
Yep ^^. |
|
Which makes sense ;). |
|
@NiLuJe Alright, that was the ticket! |
* Update macOS PATH shenanigans. c.f., koreader/koreader-base#1052 * Prefer coreutils, it now ships everything we need. (Or it always did? I apparently don't actually have coreutils installed on my end). * Also recommend putting Homebrew first in PATH Mainly because it turns out that's how I tested this the last time ;). Also, it just makes sense, and might be part of Homebrew's recommendations anyway.
That way it should show. See <koreader#1052>.
That way it should show. See <#1052>.
* Update macOS PATH shenanigans. c.f., koreader/koreader-base#1052 * Prefer coreutils, it now ships everything we need. (Or it always did? I apparently don't actually have coreutils installed on my end). * Also recommend putting Homebrew first in PATH Mainly because it turns out that's how I tested this the last time ;). Also, it just makes sense, and might be part of Homebrew's recommendations anyway.
* Update macOS PATH shenanigans. c.f., koreader/koreader-base#1052 * Prefer coreutils, it now ships everything we need. (Or it always did? I apparently don't actually have coreutils installed on my end). * Also recommend putting Homebrew first in PATH Mainly because it turns out that's how I tested this the last time ;). Also, it just makes sense, and might be part of Homebrew's recommendations anyway.
GitHub Actions provides readily available Mac OS (and Windows) builds, so we should prevent the habitual Mac OS breakage from here on out.
Differences from README:
Hopefully @NiLuJe will be able to help resolve the gettext/glib issue because I have no idea what's going on there.
GH Actions docs: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
This change is