Compare commits

...

2 Commits

Author SHA1 Message Date
b7e141227e ci: disable autocrlf on windows 2022-10-31 07:39:54 -03:00
3a47c24975 ci: add macOS as a build target 2022-10-31 07:36:47 -03:00

@ -4,12 +4,9 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: goto-bus-stop/setup-zig@v1
with:
version: master
@ -23,6 +20,14 @@ jobs:
run: |
vcpkg integrate install
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
run: zig build -Drelease-safe
lint: