summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d8169e6..12fae39 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -208,7 +208,23 @@ jobs:
./rlgl/rlgl.exe e --id=${GITHUB_SHA:0:7} --policy=https://github.com/libffi/rlgl-policy.git $(find . -name libffi.log)
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- build-msvc:
+ build-macos:
+ name: Build & test on macOS
+ runs-on: ${{ matrix.platform }}
+
+ strategy:
+ fail-fast: false
+ matrix:
+ platform: [macos-11, macos-12]
+ compilers: [CC=gcc CXX=g++, CC=clang CXX=clang]
+
+ steps:
+ - run: git config --global core.autocrlf input
+ - uses: actions/checkout@v2
+ - run: ./.ci/install.sh
+ - run: ${{ matrix.compilers }} ./.ci/build.sh
+
+build-msvc:
name: Build & test with Visual C++
runs-on: windows-latest