Compare commits

..

2 Commits

1 changed files with 9 additions and 4 deletions

View File

@ -4,12 +4,9 @@ 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
with:
submodules: true
- uses: goto-bus-stop/setup-zig@v1 - uses: goto-bus-stop/setup-zig@v1
with: with:
version: master version: master
@ -23,6 +20,14 @@ jobs:
run: | run: |
vcpkg integrate install vcpkg integrate install
vcpkg install sdl2:x64-windows vcpkg install sdl2:x64-windows
git config --global core.autocrlf false
- name: prepare-macos
if: runner.os == 'macOS'
run: |
brew install sdl2
- uses: actions/checkout@v2
with:
submodules: true
- name: build - name: build
run: zig build -Drelease-safe run: zig build -Drelease-safe
lint: lint: