Skip to content

Commit ca1428a

Browse files
authored
Fix windows runs-on in CI test (#242)
* Fix windows runs-on in CI test Signed-off-by: jparisu <javierparis@eprosima.com> * fix fail-fast in ubuntu release matrix Signed-off-by: jparisu <javierparis@eprosima.com> * redo change order Signed-off-by: jparisu <javierparis@eprosima.com>
1 parent d7ebb76 commit ca1428a

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build_fastdds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- 'Debug'
1717
windows-version:
1818
- 'windows-2019'
19-
- 'windows-latest'
19+
- 'windows-2022'
2020
env:
2121
CXXFLAGS: /MP
2222
OPENSSL64_ROOT: "C:/Program Files/OpenSSL-Win64"

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#
77
# JOBS:
88
# - windows-build-test
9-
# - windows-latest
10-
# - [Debug | Release]
9+
# - [ windows-2019 | windows-2022 ]
10+
# - [ Debug | Release ]
1111
# - compile up-to ddsrouter_tool ; run tests
1212
# - ubuntu-main-test
1313
# - ubuntu-20.04
@@ -46,7 +46,7 @@ on:
4646
jobs:
4747

4848
windows-build-test:
49-
runs-on: windows-latest
49+
runs-on: ${{ matrix.windows-version }}
5050
strategy:
5151
fail-fast: false
5252
matrix:
@@ -55,7 +55,7 @@ jobs:
5555
- 'Debug'
5656
windows-version:
5757
- 'windows-2019'
58-
- 'windows-latest'
58+
- 'windows-2022'
5959
env:
6060
CXXFLAGS: /MP
6161
OPENSSL64_ROOT: "C:/Program Files/OpenSSL-Win64"
@@ -158,6 +158,7 @@ jobs:
158158
cmake_build_type: ${{ matrix.cmake-config }}
159159
if: always()
160160

161+
161162
ubuntu-main-test:
162163
runs-on: ubuntu-20.04
163164
environment:
@@ -302,6 +303,7 @@ jobs:
302303
ubuntu-release-test:
303304
runs-on: ${{ matrix.ubuntu-version }}
304305
strategy:
306+
fail-fast: false
305307
matrix:
306308
ubuntu-version:
307309
- 'ubuntu-20.04'

0 commit comments

Comments
 (0)