Skip to content

Commit 8e7d814

Browse files
authored
use windows-2022 in sources tests (cyberbotics#6858)
1 parent ec05c25 commit 8e7d814

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/tests_sources.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
os: [ubuntu-22.04, macos-14, windows-2019]
37+
os: [ubuntu-22.04, macos-14, windows-2022]
3838
python: [3.9]
3939
include:
4040
- os: ubuntu-22.04
4141
DEPENDENCIES_INSTALLATION: "wget https://github.com/danmar/cppcheck/archive/refs/tags/2.14.2.tar.gz; tar -xf 2.14.2.tar.gz -C ~/; mkdir -p ~/cppcheck-2.14.2/build; cd ~/cppcheck-2.14.2/build; cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..; cmake --build . --config RelWithDebInfo; export PATH=~/cppcheck-2.14.2/build/bin:$PATH"
4242
- os: macos-14
4343
DEPENDENCIES_INSTALLATION: "brew tap-new --no-git $USER/local-cppcheck; brew extract --version=2.14.2 cppcheck $USER/local-cppcheck; brew install cppcheck@2.14.2; brew tap-new --no-git $USER/local-clang-format; brew extract --version=14.0.0 clang-format $USER/local-clang-format; brew install clang-format@14.0.0"
44-
- os: windows-2019
44+
- os: windows-2022
4545
DEPENDENCIES_INSTALLATION: "curl -LJO https://github.com/danmar/cppcheck/releases/download/2.14.1/cppcheck-2.14.1-x64-Setup.msi; powershell 'Start-Process msiexec -ArgumentList \"/quiet\",\"/passive\",\"/qn\",\"/i\",\"cppcheck-2.14.1-x64-Setup.msi\" -Wait'; choco uninstall -y llvm; choco install -y llvm --version=14.0.0; export PATH=$PATH:\"/c/Program Files/Cppcheck:/c/Program Files/LLVM/bin\""
4646
runs-on: ${{ matrix.os }}
4747
if: needs.job-skipper.outputs.should_skip != 'true'
@@ -52,7 +52,7 @@ jobs:
5252
echo "job_needed=true" >> "$GITHUB_OUTPUT"
5353
id: os_check
5454
- name: Set git to use LF
55-
if: matrix.os == 'windows-2019'
55+
if: matrix.os == 'windows-2022'
5656
run: |
5757
git config --global core.autocrlf false
5858
git config --global core.eol lf

.github/workflows/tests_sources_with_latest_cppcheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
os: [ubuntu-22.04, macos-14, windows-2019]
33+
os: [ubuntu-22.04, macos-14, windows-2022]
3434
python: [3.9]
3535
include:
3636
- os: ubuntu-22.04
3737
DEPENDENCIES_INSTALLATION: "sudo apt -y install cppcheck"
3838
- os: macos-14
3939
DEPENDENCIES_INSTALLATION: "brew install cppcheck; brew tap-new --no-git $USER/local-clang-format; brew extract --version=14.0.0 clang-format $USER/local-clang-format; brew install clang-format@14.0.0"
40-
- os: windows-2019
40+
- os: windows-2022
4141
DEPENDENCIES_INSTALLATION: "choco install -y cppcheck || true; choco uninstall -y llvm; choco install -y llvm --version=14.0.0; export PATH=$PATH:\"/c/Program Files/Cppcheck:/c/Program Files/LLVM/bin\""
4242
runs-on: ${{ matrix.os }}
4343
if: needs.job-skipper.outputs.should_skip != 'true'
@@ -48,7 +48,7 @@ jobs:
4848
echo "job_needed=true" >> "$GITHUB_OUTPUT"
4949
id: os_check
5050
- name: Set git to use LF
51-
if: matrix.os == 'windows-2019'
51+
if: matrix.os == 'windows-2022'
5252
run: |
5353
git config --global core.autocrlf false
5454
git config --global core.eol lf

0 commit comments

Comments
 (0)