Skip to content

Commit

Permalink
Run GitHub Actions on macOS M1.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Aug 7, 2024
1 parent 67680fc commit 2ec9868
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,21 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['macos-12', 'windows-2022']
# Note: macOS 12 runs on x86 hardware, and 14 runs on M1 hardware
os: ['macos-12', 'macos-14', 'windows-2022']
llvm: ['11', '12', '13', '14', '15', '16', '17', '18']
cuda: ['0', '1']
lua: ['luajit', 'moonjit']
exclude:
# macOS: exclude cuda
- os: 'macos-12'
cuda: '1'
- os: 'macos-14'
cuda: '1'

# macOS 14: exclude Moonjit (M1 requires LuaJIT)
- os: 'macos-14'
lua: 'moonjit'

# Windows: exclude LLVM 12-18
- os: 'windows-2022'
Expand Down

0 comments on commit 2ec9868

Please sign in to comment.