ci: add macOS as a build target
This commit is contained in:
parent
0d13934f56
commit
3a47c24975
|
@ -4,7 +4,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -23,6 +23,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
vcpkg integrate install
|
vcpkg integrate install
|
||||||
vcpkg install sdl2:x64-windows
|
vcpkg install sdl2:x64-windows
|
||||||
|
- name: prepare-macos
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: |
|
||||||
|
brew install sdl2
|
||||||
- name: build
|
- name: build
|
||||||
run: zig build -Drelease-safe
|
run: zig build -Drelease-safe
|
||||||
lint:
|
lint:
|
||||||
|
|
Loading…
Reference in New Issue