summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ebac88216b..69fb7a41de 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -299,7 +299,7 @@ jobs:
done
macos:
- runs-on: macos-latest
+ runs-on: ${{ matrix.runner }}
env:
CC: clang
@@ -312,17 +312,24 @@ jobs:
fail-fast: false
matrix:
features: [tiny, normal, huge]
+ runner: [macos-latest, macos-14]
steps:
- name: Checkout repository from github
uses: actions/checkout@v4
- - name: Install packages
- if: matrix.features == 'huge'
+ - name: Install packages on Intel Mac
+ if: matrix.features == 'huge' && matrix.runner == 'macos-latest'
run: |
brew install lua
echo "LUA_PREFIX=/usr/local" >> $GITHUB_ENV
+ - name: Install packages on M1 Mac
+ if: matrix.features == 'huge' && matrix.runner == 'macos-14'
+ run: |
+ brew install lua libtool
+ echo "LUA_PREFIX=/opt/homebrew" >> $GITHUB_ENV
+
- name: Set up environment
run: |
(