|
|
@ -30,13 +30,12 @@ jobs:
|
|
|
|
show-progress: false
|
|
|
|
show-progress: false
|
|
|
|
|
|
|
|
|
|
|
|
- name: Homebrew install dependencies
|
|
|
|
- name: Homebrew install dependencies
|
|
|
|
# Compared to the README, adds ccache for faster compilation times
|
|
|
|
# Compared to the README, adds p7zip.
|
|
|
|
# Compared to the emulator, adds p7zip.
|
|
|
|
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
packages=(
|
|
|
|
packages=(
|
|
|
|
nasm binutils coreutils libtool autoconf automake cmake makedepend
|
|
|
|
nasm binutils coreutils libtool autoconf automake cmake makedepend
|
|
|
|
sdl2 lua@5.1 luarocks gettext pkg-config wget gnu-getopt grep bison
|
|
|
|
sdl2 lua@5.1 luarocks gettext pkg-config wget gnu-getopt grep bison
|
|
|
|
ccache p7zip
|
|
|
|
p7zip
|
|
|
|
)
|
|
|
|
)
|
|
|
|
# Lua 5.1 is disabled, so we need to work around that:
|
|
|
|
# Lua 5.1 is disabled, so we need to work around that:
|
|
|
|
# - fetch all packages
|
|
|
|
# - fetch all packages
|
|
|
@ -48,10 +47,18 @@ jobs:
|
|
|
|
# - and install the rest
|
|
|
|
# - and install the rest
|
|
|
|
brew install "${packages[@]}"
|
|
|
|
brew install "${packages[@]}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Update PATH
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
printf '%s\n' \
|
|
|
|
|
|
|
|
"$(brew --prefix)/opt/bison/bin" \
|
|
|
|
|
|
|
|
"$(brew --prefix)/opt/gettext/bin" \
|
|
|
|
|
|
|
|
"$(brew --prefix)/opt/gnu-getopt/bin" \
|
|
|
|
|
|
|
|
"$(brew --prefix)/opt/grep/libexec/gnubin" \
|
|
|
|
|
|
|
|
>>"${GITHUB_PATH}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Building in progress…
|
|
|
|
- name: Building in progress…
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
export MACOSX_DEPLOYMENT_TARGET=10.15;
|
|
|
|
export MACOSX_DEPLOYMENT_TARGET=10.15;
|
|
|
|
export PATH="$(brew --prefix)/opt/gettext/bin:$(brew --prefix)/opt/gnu-getopt/bin:$(brew --prefix)/opt/bison/bin:$(brew --prefix)/opt/grep/libexec/gnubin:${PATH}";
|
|
|
|
|
|
|
|
./kodev release macos
|
|
|
|
./kodev release macos
|
|
|
|
|
|
|
|
|
|
|
|
- name: Uploading artifacts
|
|
|
|
- name: Uploading artifacts
|
|
|
|