Skip to content

Commit f250636

Browse files
authored
ci: migrate from windows-2019 runner to windows-2025 runner in most jobs (github deprecated the 2019 runner) (#24672)
1 parent 0c495d0 commit f250636

7 files changed

Lines changed: 23 additions & 18 deletions

File tree

‎.github/workflows/cross_ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
ls -lart examples/2048/2048.exe
101101
102102
cross-windows:
103-
runs-on: windows-2019
103+
runs-on: windows-2025
104104
timeout-minutes: 25
105105
steps:
106106
- uses: actions/checkout@v4

‎.github/workflows/debug.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [workflow_dispatch]
44

55
jobs:
66
debug-msvc:
7-
runs-on: windows-2019
7+
runs-on: windows-2025
88
timeout-minutes: 121
99
env:
1010
VFLAGS: -cc msvc

‎.github/workflows/native_backend_ci.yml‎

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,34 @@ on:
4545
- '.github/workflows/native_backend_ci.yml'
4646

4747
concurrency:
48-
group: native_backend-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
48+
group: native_backend-${{ github.workflow }}-${{ github.ref}}
4949
cancel-in-progress: true
5050

5151
jobs:
52-
native-backend:
53-
strategy:
54-
matrix:
55-
os: [ubuntu-24.04, windows-2019]
56-
runs-on: ${{ matrix.os }}
52+
native-backend-ubuntu:
53+
runs-on: ubuntu-24.04
5754
steps:
5855
- uses: actions/checkout@v4
5956
- name: Build V
60-
if: runner.os != 'Windows'
61-
run: make -j4 && ./v symlink
62-
- name: Build V (Windows)
63-
if: runner.os == 'Windows'
64-
run: ./make.bat && ./v symlink
57+
run: make && ./v symlink
6558
- name: Install linker
66-
if: runner.os == 'Linux'
6759
run: v retry -- sudo apt -qq install binutils
6860
- name: Rebuild V with -g, for better stacktraces on compiler panics
6961
run: v -g self
7062
- name: Run the native backend tests serially with more details
7163
run: |
7264
v vlib/v/gen/native/macho_test.v
7365
v vlib/v/gen/native/tests/native_test.v
66+
67+
native-backend-windows:
68+
runs-on: windows-2019
69+
steps:
70+
- uses: actions/checkout@v4
71+
- name: Build V (Windows)
72+
run: ./make.bat && ./v symlink
73+
- name: Rebuild V with -g, for better stacktraces on compiler panics
74+
run: v -g self
75+
- name: Run the native backend tests serially with more details
76+
run: |
77+
v vlib/v/gen/native/macho_test.v
78+
v vlib/v/gen/native/tests/native_test.v

‎.github/workflows/sanitized_ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
run: ./v -silent build-examples
166166

167167
sanitize-address-msvc:
168-
runs-on: windows-2019
168+
runs-on: windows-2025
169169
timeout-minutes: 30
170170
env:
171171
VFLAGS: -cc msvc

‎.github/workflows/symlink_ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
v run hi.v
5959
6060
symlink-windows:
61-
runs-on: windows-2019
61+
runs-on: windows-2025
6262
strategy:
6363
matrix:
6464
flags: ['', '-githubci']

‎.github/workflows/time_ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: TZ=Europe/Paris ./v test vlib/time/
5555

5656
time-windows:
57-
runs-on: windows-2019
57+
runs-on: windows-2025
5858
steps:
5959
- uses: actions/checkout@v4
6060
- name: Build V

‎.github/workflows/tools_ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
run: ./v -silent -W -cstrict test-self cmd
8383

8484
tools-windows:
85-
runs-on: windows-2019
85+
runs-on: windows-2025
8686
strategy:
8787
matrix:
8888
cc: [tcc, gcc, msvc]

0 commit comments

Comments
 (0)