Bump LuaJIT to 20231008 #2004
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macos | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-11 | |
steps: | |
- name: XCode version | |
run: xcode-select -p | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Cache for ccache | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-ccache | |
with: | |
path: ~/.ccache # ccache cache files are stored in `~/.ccache` on Linux/macOS | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Makefile', 'Makefile.defs', 'Makefile.third', '**/CMakeLists.txt') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Homebrew install dependencies | |
# Compared to the README, adds ccache for faster compilation times and removes sh5sum to prevent some conflict with coreutils, and gnu-getopt because we're not using kodev | |
run: brew install ccache nasm ragel binutils coreutils libtool autoconf automake cmake makedepend [email protected] luarocks gettext pkg-config wget gnu-getopt grep bison | |
- name: Building in progress… | |
run: | | |
export MACOSX_DEPLOYMENT_TARGET=11; | |
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}"; | |
make fetchthirdparty && make |