ci: migrate the remaining jobs from the deprecated windows-2019 image to windows-2022 (#24825)

This commit is contained in:
Delyan Angelov 2025-07-01 14:11:45 +03:00 committed by GitHub
parent 4a44fc5ae0
commit d05dc1f519
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 10 deletions

View file

@ -51,6 +51,8 @@ concurrency:
jobs:
native-backend-ubuntu:
runs-on: ubuntu-24.04
env:
VJOBS: 1
steps:
- uses: actions/checkout@v4
- name: Build V
@ -60,12 +62,12 @@ jobs:
- name: Rebuild V with -g, for better stacktraces on compiler panics
run: v -g self
- name: Run the native backend tests serially with more details
run: |
v vlib/v/gen/native/macho_test.v
v vlib/v/gen/native/tests/native_test.v
run: v test vlib/v/gen/native/
native-backend-windows:
runs-on: windows-2019
runs-on: windows-2022
env:
VJOBS: 1
steps:
- uses: actions/checkout@v4
- name: Build V (Windows)
@ -73,6 +75,4 @@ jobs:
- name: Rebuild V with -g, for better stacktraces on compiler panics
run: v -g self
- name: Run the native backend tests serially with more details
run: |
v vlib/v/gen/native/macho_test.v
v vlib/v/gen/native/tests/native_test.v
run: v test vlib/v/gen/native/

View file

@ -92,7 +92,7 @@ jobs:
run: v -showcc -prod cmd/tools/vup.v
msvc-windows:
runs-on: windows-2019
runs-on: windows-2022
timeout-minutes: 60
env:
VFLAGS: -cc msvc
@ -138,7 +138,7 @@ jobs:
run: v -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
tcc-windows:
runs-on: windows-2019
runs-on: windows-2022
timeout-minutes: 60
env:
VFLAGS: -cc tcc -no-retry-compilation