Fix and update CI (#3368)

* CI: add workflow_dispatch trigger

* CI: change msvc2019*/clang* runners to windows-2019

GitHub updated their runners. windows-latest is now based on Windows
Server 2022 and comes with different tool versions.
MSVC 2019 is still available via the windows-2019 runner.
pull/3370/head
Florian Albrechtskirchinger 2022-03-06 13:54:00 +01:00 committed by GitHub
parent e4643d1f1b
commit d1e57df48b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -9,6 +9,7 @@ on:
pull_request:
schedule:
- cron: '0 19 * * 1'
workflow_dispatch:
jobs:
CodeQL-Build:

View File

@ -7,6 +7,7 @@ on:
- master
- release/*
pull_request:
workflow_dispatch:
jobs:
xcode:

View File

@ -7,6 +7,7 @@ on:
- master
- release/*
pull_request:
workflow_dispatch:
jobs:
ci_test_clang:

View File

@ -7,6 +7,7 @@ on:
- master
- release/*
pull_request:
workflow_dispatch:
jobs:
mingw:
@ -64,7 +65,7 @@ jobs:
run: cd build ; ctest -j 10 -C Release --output-on-failure
msvc2019:
runs-on: windows-latest
runs-on: windows-2019
strategy:
matrix:
build_type: [Debug, Release]
@ -84,7 +85,7 @@ jobs:
run: cd build ; ctest -j 10 -C ${{ matrix.build_type }} --output-on-failure
msvc2019_latest:
runs-on: windows-latest
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
@ -128,7 +129,7 @@ jobs:
run: cd build ; ctest -j 10 -C Release --output-on-failure
clang:
runs-on: windows-latest
runs-on: windows-2019
strategy:
matrix:
version: [11, 12]
@ -145,7 +146,7 @@ jobs:
run: cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
clang-cl-11:
runs-on: windows-latest
runs-on: windows-2019
strategy:
matrix:
architecture: [Win32, x64]