ci: Allow failures for experimental CI tests

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2022-06-13 03:59:03 +02:00
parent ba436e406a
commit 8241a7eb97
2 changed files with 20 additions and 1 deletions

View file

@ -50,6 +50,7 @@ jobs:
include: include:
- runner: windows-2022 - runner: windows-2022
generator: MSVC generator: MSVC
experimental: true
platform: "Windows 11" platform: "Windows 11"
PACKAGE_NAME: "windows-11" PACKAGE_NAME: "windows-11"
CMAKE_SYSTEM_VERSION: "10.0.22000.0" CMAKE_SYSTEM_VERSION: "10.0.22000.0"
@ -57,6 +58,7 @@ jobs:
CMAKE_GENERATOR_PLATFORM: "x64" CMAKE_GENERATOR_PLATFORM: "x64"
- runner: windows-2019 - runner: windows-2019
generator: MSVC generator: MSVC
experimental: false
platform: "Windows 10" platform: "Windows 10"
PACKAGE_NAME: "windows-10" PACKAGE_NAME: "windows-10"
CMAKE_SYSTEM_VERSION: "10.0.19041.0" CMAKE_SYSTEM_VERSION: "10.0.19041.0"
@ -64,6 +66,7 @@ jobs:
CMAKE_GENERATOR_PLATFORM: "x64" CMAKE_GENERATOR_PLATFORM: "x64"
- runner: windows-2022 - runner: windows-2022
generator: Clang generator: Clang
experimental: true
platform: "Windows 11" platform: "Windows 11"
PACKAGE_NAME: "windows-11-clang" PACKAGE_NAME: "windows-11-clang"
CMAKE_SYSTEM_VERSION: "10.0.22000.0" CMAKE_SYSTEM_VERSION: "10.0.22000.0"
@ -72,6 +75,7 @@ jobs:
CMAKE_GENERATOR_TOOLSET: "ClangCL" CMAKE_GENERATOR_TOOLSET: "ClangCL"
- runner: windows-2019 - runner: windows-2019
generator: Clang generator: Clang
experimental: true
platform: "Windows 10" platform: "Windows 10"
PACKAGE_NAME: "windows-10-clang" PACKAGE_NAME: "windows-10-clang"
CMAKE_SYSTEM_VERSION: "10.0.19041.0" CMAKE_SYSTEM_VERSION: "10.0.19041.0"
@ -80,6 +84,7 @@ jobs:
CMAKE_GENERATOR_TOOLSET: "ClangCL" CMAKE_GENERATOR_TOOLSET: "ClangCL"
- runner: ubuntu-22.04 - runner: ubuntu-22.04
generator: GCC generator: GCC
experimental: false
platform: "Ubuntu 22" platform: "Ubuntu 22"
compiler_c: gcc compiler_c: gcc
compiler_cxx: g++ compiler_cxx: g++
@ -87,6 +92,7 @@ jobs:
CMAKE_GENERATOR: "Ninja" CMAKE_GENERATOR: "Ninja"
- runner: ubuntu-20.04 - runner: ubuntu-20.04
generator: GCC generator: GCC
experimental: false
platform: "Ubuntu 20" platform: "Ubuntu 20"
compiler_c: gcc compiler_c: gcc
compiler_cxx: g++ compiler_cxx: g++
@ -94,6 +100,7 @@ jobs:
CMAKE_GENERATOR: "Ninja" CMAKE_GENERATOR: "Ninja"
- runner: ubuntu-22.04 - runner: ubuntu-22.04
generator: Clang generator: Clang
experimental: false
platform: "Ubuntu 22" platform: "Ubuntu 22"
compiler_c: clang compiler_c: clang
compiler_cxx: clang++ compiler_cxx: clang++
@ -101,6 +108,7 @@ jobs:
CMAKE_GENERATOR: "Ninja" CMAKE_GENERATOR: "Ninja"
- runner: ubuntu-20.04 - runner: ubuntu-20.04
generator: Clang generator: Clang
experimental: false
platform: "Ubuntu 20" platform: "Ubuntu 20"
compiler_c: clang compiler_c: clang
compiler_cxx: clang++ compiler_cxx: clang++
@ -108,24 +116,28 @@ jobs:
CMAKE_GENERATOR: "Ninja" CMAKE_GENERATOR: "Ninja"
- runner: macos-12 - runner: macos-12
generator: Clang generator: Clang
experimental: true
platform: "MacOS 12" platform: "MacOS 12"
PACKAGE_NAME: "macos-12" PACKAGE_NAME: "macos-12"
CMAKE_GENERATOR: "Xcode" CMAKE_GENERATOR: "Xcode"
CMAKE_OSX_DEPLOYMENT_TARGET: "10.15" CMAKE_OSX_DEPLOYMENT_TARGET: "10.15"
- runner: macos-11 - runner: macos-11
generator: Clang generator: Clang
experimental: false
platform: "MacOS 11" platform: "MacOS 11"
PACKAGE_NAME: "macos-11" PACKAGE_NAME: "macos-11"
CMAKE_GENERATOR: "Xcode" CMAKE_GENERATOR: "Xcode"
CMAKE_OSX_DEPLOYMENT_TARGET: "10.15" CMAKE_OSX_DEPLOYMENT_TARGET: "10.15"
- runner: macos-10.15 - runner: macos-10.15
generator: Clang generator: Clang
experimental: true
platform: "MacOS 10.15" platform: "MacOS 10.15"
PACKAGE_NAME: "macos-10.15" PACKAGE_NAME: "macos-10.15"
CMAKE_GENERATOR: "Xcode" CMAKE_GENERATOR: "Xcode"
CMAKE_OSX_DEPLOYMENT_TARGET: "10.15" CMAKE_OSX_DEPLOYMENT_TARGET: "10.15"
name: "${{ matrix.platform }} (${{ matrix.generator }}, ${{ matrix.CMAKE_BUILD_TYPE }})" name: "${{ matrix.platform }} (${{ matrix.generator }}, ${{ matrix.CMAKE_BUILD_TYPE }})"
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
continue-on-error: ${{ matrix.experimental }}
env: env:
CC: ${{ matrix.compiler_c }} CC: ${{ matrix.compiler_c }}
CXX: ${{ matrix.compiler_cxx }} CXX: ${{ matrix.compiler_cxx }}

View file

@ -24,27 +24,32 @@ jobs:
CMAKE_BUILD_TYPE: [ "Debug", "Release" ] CMAKE_BUILD_TYPE: [ "Debug", "Release" ]
include: include:
- runner: "windows-2022" - runner: "windows-2022"
experimental: true
id: "windows-2022-validate" id: "windows-2022-validate"
name: "Windows 11" name: "Windows 11"
CMAKE_SYSTEM_VERSION: "10.0.18362.0" CMAKE_SYSTEM_VERSION: "10.0.18362.0"
CMAKE_GENERATOR: "Visual Studio 17 2022" CMAKE_GENERATOR: "Visual Studio 17 2022"
CMAKE_GENERATOR_PLATFORM: "x64" CMAKE_GENERATOR_PLATFORM: "x64"
- runner: "windows-2019" - runner: "windows-2019"
experimental: true
id: "windows-2019-validate" id: "windows-2019-validate"
name: "Windows 10" name: "Windows 10"
CMAKE_SYSTEM_VERSION: "10.0.18362.0" CMAKE_SYSTEM_VERSION: "10.0.18362.0"
CMAKE_GENERATOR: "Visual Studio 16 2019" CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_GENERATOR_PLATFORM: "x64" CMAKE_GENERATOR_PLATFORM: "x64"
- runner: "ubuntu-22.04" - runner: "ubuntu-22.04"
experimental: false
id: "linux-22.04-validate" id: "linux-22.04-validate"
name: "Ubuntu 22.04" name: "Ubuntu 22.04"
CMAKE_GENERATOR: "Ninja" CMAKE_GENERATOR: "Ninja"
- runner: "ubuntu-20.04" - runner: "ubuntu-20.04"
experimental: false
id: "linux-20.04-validate" id: "linux-20.04-validate"
name: "Ubuntu 20.04" name: "Ubuntu 20.04"
CMAKE_GENERATOR: "Ninja" CMAKE_GENERATOR: "Ninja"
name: "${{ matrix.name }} (${{ matrix.CMAKE_BUILD_TYPE }})" name: "${{ matrix.name }} (${{ matrix.CMAKE_BUILD_TYPE }})"
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
continue-on-error: ${{ matrix.experimental }}
env: env:
CC: clang CC: clang
CXX: clang++ CXX: clang++
@ -75,7 +80,9 @@ jobs:
qtbase5-dev qtbase5-private-dev libqt5svg5-dev \ qtbase5-dev qtbase5-private-dev libqt5svg5-dev \
libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev \ libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev \
libcurl4-openssl-dev libcurl4-openssl-dev
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" 14
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 800
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 800
- name: "Dependencies: Cache" - name: "Dependencies: Cache"
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'