From c67bacbf5b30614ff61a5432f056b0c18618c7c9 Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Fri, 15 Jan 2021 18:08:41 -0500 Subject: [PATCH] [obs] build with both GCC and Clang in Github Actions --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5227a3d..852eb111 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,6 +80,9 @@ jobs: obs: runs-on: ubuntu-latest + strategy: + matrix: + cc: [gcc, clang] steps: - uses: actions/checkout@v1 with: @@ -91,7 +94,7 @@ jobs: run: | mkdir obs/build cd obs/build - cmake .. + CC=/usr/bin/${{ matrix.cc }} cmake .. - name: Build obs plugin run: | cd obs/build