[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:
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