[obs] build with both GCC and Clang in Github Actions

This commit is contained in:
Tudor Brindus 2021-01-15 18:08:41 -05:00 committed by Geoffrey McRae
parent a20930e5b6
commit c67bacbf5b

View file

@ -80,6 +80,9 @@ jobs:
obs: obs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
cc: [gcc, clang]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
with: with:
@ -91,7 +94,7 @@ jobs:
run: | run: |
mkdir obs/build mkdir obs/build
cd obs/build cd obs/build
cmake .. CC=/usr/bin/${{ matrix.cc }} cmake ..
- name: Build obs plugin - name: Build obs plugin
run: | run: |
cd obs/build cd obs/build