From 3a47c24975f88ddc6810f1dfe9cd7f68d7395716 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Mon, 31 Oct 2022 07:36:47 -0300 Subject: [PATCH] ci: add macOS as a build target --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5278136..907a722 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ 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 @@ -23,6 +23,10 @@ jobs: run: | vcpkg integrate install vcpkg install sdl2:x64-windows + - name: prepare-macos + if: runner.os == 'macOS' + run: | + brew install sdl2 - name: build run: zig build -Drelease-safe lint: