Skip to content

Commit d1e57df

Browse files
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.
1 parent e4643d1 commit d1e57df

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
pull_request:
1010
schedule:
1111
- cron: '0 19 * * 1'
12+
workflow_dispatch:
1213

1314
jobs:
1415
CodeQL-Build:

.github/workflows/macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- master
88
- release/*
99
pull_request:
10+
workflow_dispatch:
1011

1112
jobs:
1213
xcode:

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- master
88
- release/*
99
pull_request:
10+
workflow_dispatch:
1011

1112
jobs:
1213
ci_test_clang:

.github/workflows/windows.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- master
88
- release/*
99
pull_request:
10+
workflow_dispatch:
1011

1112
jobs:
1213
mingw:
@@ -64,7 +65,7 @@ jobs:
6465
run: cd build ; ctest -j 10 -C Release --output-on-failure
6566

6667
msvc2019:
67-
runs-on: windows-latest
68+
runs-on: windows-2019
6869
strategy:
6970
matrix:
7071
build_type: [Debug, Release]
@@ -84,7 +85,7 @@ jobs:
8485
run: cd build ; ctest -j 10 -C ${{ matrix.build_type }} --output-on-failure
8586

8687
msvc2019_latest:
87-
runs-on: windows-latest
88+
runs-on: windows-2019
8889

8990
steps:
9091
- uses: actions/checkout@v2
@@ -128,7 +129,7 @@ jobs:
128129
run: cd build ; ctest -j 10 -C Release --output-on-failure
129130

130131
clang:
131-
runs-on: windows-latest
132+
runs-on: windows-2019
132133
strategy:
133134
matrix:
134135
version: [11, 12]
@@ -145,7 +146,7 @@ jobs:
145146
run: cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
146147

147148
clang-cl-11:
148-
runs-on: windows-latest
149+
runs-on: windows-2019
149150
strategy:
150151
matrix:
151152
architecture: [Win32, x64]

0 commit comments

Comments
 (0)