Skip to content

Commit

Permalink
ci: Allow failures for experimental CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Jun 13, 2022
1 parent 0e450f9 commit 4037787
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,23 @@ jobs:
include:
- runner: windows-2022
generator: MSVC
experimental: true
platform: "Windows 11"
PACKAGE_NAME: "windows-11"
CMAKE_SYSTEM_VERSION: "10.0.22000.0"
CMAKE_GENERATOR: "Visual Studio 17 2022"
CMAKE_GENERATOR_PLATFORM: "x64"
- runner: windows-2019
generator: MSVC
experimental: false
platform: "Windows 10"
PACKAGE_NAME: "windows-10"
CMAKE_SYSTEM_VERSION: "10.0.19041.0"
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_GENERATOR_PLATFORM: "x64"
- runner: windows-2022
generator: Clang
experimental: true
platform: "Windows 11"
PACKAGE_NAME: "windows-11-clang"
CMAKE_SYSTEM_VERSION: "10.0.22000.0"
Expand All @@ -72,6 +75,7 @@ jobs:
CMAKE_GENERATOR_TOOLSET: "ClangCL"
- runner: windows-2019
generator: Clang
experimental: true
platform: "Windows 10"
PACKAGE_NAME: "windows-10-clang"
CMAKE_SYSTEM_VERSION: "10.0.19041.0"
Expand All @@ -80,52 +84,60 @@ jobs:
CMAKE_GENERATOR_TOOLSET: "ClangCL"
- runner: ubuntu-22.04
generator: GCC
experimental: false
platform: "Ubuntu 22"
compiler_c: gcc
compiler_cxx: g++
PACKAGE_NAME: "ubuntu-22-gcc"
CMAKE_GENERATOR: "Ninja"
- runner: ubuntu-20.04
generator: GCC
experimental: false
platform: "Ubuntu 20"
compiler_c: gcc
compiler_cxx: g++
PACKAGE_NAME: "ubuntu-20-gcc"
CMAKE_GENERATOR: "Ninja"
- runner: ubuntu-22.04
generator: Clang
experimental: false
platform: "Ubuntu 22"
compiler_c: clang
compiler_cxx: clang++
PACKAGE_NAME: "ubuntu-22-clang"
CMAKE_GENERATOR: "Ninja"
- runner: ubuntu-20.04
generator: Clang
experimental: false
platform: "Ubuntu 20"
compiler_c: clang
compiler_cxx: clang++
PACKAGE_NAME: "ubuntu-20-clang"
CMAKE_GENERATOR: "Ninja"
- runner: macos-12
generator: Clang
experimental: true
platform: "MacOS 12"
PACKAGE_NAME: "macos-12"
CMAKE_GENERATOR: "Xcode"
CMAKE_OSX_DEPLOYMENT_TARGET: "10.15"
- runner: macos-11
generator: Clang
experimental: false
platform: "MacOS 11"
PACKAGE_NAME: "macos-11"
CMAKE_GENERATOR: "Xcode"
CMAKE_OSX_DEPLOYMENT_TARGET: "10.15"
- runner: macos-10.15
generator: Clang
experimental: true
platform: "MacOS 10.15"
PACKAGE_NAME: "macos-10.15"
CMAKE_GENERATOR: "Xcode"
CMAKE_OSX_DEPLOYMENT_TARGET: "10.15"
name: "${{ matrix.platform }} (${{ matrix.generator }}, ${{ matrix.CMAKE_BUILD_TYPE }})"
runs-on: ${{ matrix.runner }}
continue-on-error: ${{ matrix.experimental }}
env:
CC: ${{ matrix.compiler_c }}
CXX: ${{ matrix.compiler_cxx }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ jobs:
CMAKE_BUILD_TYPE: [ "Debug", "Release" ]
include:
- runner: "windows-2022"
experimental: true
id: "windows-2022-validate"
name: "Windows 11"
CMAKE_SYSTEM_VERSION: "10.0.18362.0"
CMAKE_GENERATOR: "Visual Studio 17 2022"
CMAKE_GENERATOR_PLATFORM: "x64"
- runner: "windows-2019"
experimental: true
id: "windows-2019-validate"
name: "Windows 10"
CMAKE_SYSTEM_VERSION: "10.0.18362.0"
Expand All @@ -45,6 +47,7 @@ jobs:
CMAKE_GENERATOR: "Ninja"
name: "${{ matrix.name }} (${{ matrix.CMAKE_BUILD_TYPE }})"
runs-on: ${{ matrix.runner }}
continue-on-error: ${{ matrix.experimental }}
env:
CC: clang
CXX: clang++
Expand Down Expand Up @@ -75,7 +78,9 @@ jobs:
qtbase5-dev qtbase5-private-dev libqt5svg5-dev \
libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswresample-dev libswscale-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"
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 4037787

Please sign in to comment.