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/3351/head^2
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: pull_request:
schedule: schedule:
- cron: '0 19 * * 1' - cron: '0 19 * * 1'
workflow_dispatch:
jobs: jobs:
CodeQL-Build: CodeQL-Build:

View File

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

View File

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

View File

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