From aa7e97fa5b7f21fdaa02f17348211612cd6514e9 Mon Sep 17 00:00:00 2001 From: Florian Albrechtskirchinger Date: Wed, 2 Mar 2022 19:40:05 +0100 Subject: [PATCH 1/2] CI: add workflow_dispatch trigger --- .github/workflows/codeql-analysis.yml | 1 + .github/workflows/macos.yml | 1 + .github/workflows/ubuntu.yml | 1 + .github/workflows/windows.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 20275feace..01b3334979 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,6 +9,7 @@ on: pull_request: schedule: - cron: '0 19 * * 1' + workflow_dispatch: jobs: CodeQL-Build: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f653e2b6bf..6a378f13f1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -7,6 +7,7 @@ on: - master - release/* pull_request: + workflow_dispatch: jobs: xcode: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index eb544007eb..634545a4f3 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -7,6 +7,7 @@ on: - master - release/* pull_request: + workflow_dispatch: jobs: ci_test_clang: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9d0989a519..186e5ae183 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,6 +7,7 @@ on: - master - release/* pull_request: + workflow_dispatch: jobs: mingw: From 64a2e05b36319b3718ca6e9398b798911aff78fe Mon Sep 17 00:00:00 2001 From: Florian Albrechtskirchinger Date: Wed, 2 Mar 2022 19:43:17 +0100 Subject: [PATCH 2/2] 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. --- .github/workflows/windows.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 186e5ae183..e8ca95d51f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -65,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] @@ -85,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 @@ -129,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] @@ -146,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]