mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-30 23:33:02 +00:00
ci: Automatically try to build with clang-9 on 19.10
This commit is contained in:
parent
544b67d55e
commit
1e10bd3839
1 changed files with 27 additions and 8 deletions
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
|
@ -57,16 +57,36 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
runner: [ ubuntu-18.04, ubuntu-latest ]
|
runner: [ ubuntu-18.04, ubuntu-latest ]
|
||||||
|
compiler: [ gcc, clang ]
|
||||||
include:
|
include:
|
||||||
- runner: ubuntu-18.04
|
- runner: ubuntu-18.04
|
||||||
gcc: 8
|
compiler: gcc
|
||||||
id: ubuntu1804
|
compiler-cxx: g++
|
||||||
|
compiler-version: 8
|
||||||
|
packages: gcc-8 g++8
|
||||||
|
extra_command: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
|
||||||
|
id: ubuntu1804-gcc8
|
||||||
- runner: ubuntu-latest
|
- runner: ubuntu-latest
|
||||||
gcc: 9
|
compiler: gcc
|
||||||
id: ubuntu1910
|
compiler-cxx: g++
|
||||||
|
compiler-version: 9
|
||||||
|
extra_command: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 800 --slave /usr/bin/g++ g++ /usr/bin/g++-9
|
||||||
|
id: ubuntu1910-gcc9
|
||||||
|
- runner: ubuntu-latest
|
||||||
|
compiler: clang
|
||||||
|
compiler-cxx: clang++
|
||||||
|
compiler-version: 9
|
||||||
|
packages: clang-9
|
||||||
|
extra_command: ""
|
||||||
|
id: ubuntu1910-clang9
|
||||||
|
exclude:
|
||||||
|
- runner: ubuntu-18.04
|
||||||
|
compiler: clang
|
||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
env:
|
env:
|
||||||
CMAKE_GENERATOR: "Ninja"
|
CMAKE_GENERATOR: "Ninja"
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
|
CXX: ${{ matrix.compiler-cxx }}
|
||||||
steps:
|
steps:
|
||||||
- name: "Clone Repository"
|
- name: "Clone Repository"
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
@ -79,8 +99,7 @@ jobs:
|
||||||
sudo apt-get -qq update
|
sudo apt-get -qq update
|
||||||
sudo apt-get install \
|
sudo apt-get install \
|
||||||
build-essential \
|
build-essential \
|
||||||
gcc-${{ matrix.gcc }} \
|
${{ matrix.packages }} \
|
||||||
g++-${{ matrix.gcc }} \
|
|
||||||
checkinstall \
|
checkinstall \
|
||||||
cmake \
|
cmake \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
|
@ -97,7 +116,7 @@ jobs:
|
||||||
libqt5svg5-dev \
|
libqt5svg5-dev \
|
||||||
libgl1-mesa-dev \
|
libgl1-mesa-dev \
|
||||||
pkg-config
|
pkg-config
|
||||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.gcc }} 800 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.gcc }}
|
${{ matrix.extra_command }}
|
||||||
- name: "Configure Project"
|
- name: "Configure Project"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue