summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2022-09-05 22:04:52 -0400
committerAnthony Green <green@moxielogic.com>2022-09-05 22:04:52 -0400
commit5a6c94f7d49bcd64c85bde04c2d1f10b59d5797c (patch)
treeda4cc898272fb83effa7a4ccbc4909254e507b84 /.github
parent351318e3bde9ac90c6d5eddbaa7f26ee3e7bcc6c (diff)
downloadlibffi-5a6c94f7d49bcd64c85bde04c2d1f10b59d5797c.tar.gz
Test with gcc and clang on macos 11 and 12.
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