mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: migrate from windows-2019 runner to windows-2025 runner in most jobs (github deprecated the 2019 runner) (#24672)
This commit is contained in:
parent
0c495d07d7
commit
f2506368ac
7 changed files with 23 additions and 18 deletions
2
.github/workflows/cross_ci.yml
vendored
2
.github/workflows/cross_ci.yml
vendored
|
@ -100,7 +100,7 @@ jobs:
|
|||
ls -lart examples/2048/2048.exe
|
||||
|
||||
cross-windows:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2025
|
||||
timeout-minutes: 25
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
2
.github/workflows/debug.yml
vendored
2
.github/workflows/debug.yml
vendored
|
@ -4,7 +4,7 @@ on: [workflow_dispatch]
|
|||
|
||||
jobs:
|
||||
debug-msvc:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2025
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
VFLAGS: -cc msvc
|
||||
|
|
29
.github/workflows/native_backend_ci.yml
vendored
29
.github/workflows/native_backend_ci.yml
vendored
|
@ -45,25 +45,17 @@ on:
|
|||
- '.github/workflows/native_backend_ci.yml'
|
||||
|
||||
concurrency:
|
||||
group: native_backend-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||
group: native_backend-${{ github.workflow }}-${{ github.ref}}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
native-backend:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-24.04, windows-2019]
|
||||
runs-on: ${{ matrix.os }}
|
||||
native-backend-ubuntu:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build V
|
||||
if: runner.os != 'Windows'
|
||||
run: make -j4 && ./v symlink
|
||||
- name: Build V (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: ./make.bat && ./v symlink
|
||||
run: make && ./v symlink
|
||||
- name: Install linker
|
||||
if: runner.os == 'Linux'
|
||||
run: v retry -- sudo apt -qq install binutils
|
||||
- name: Rebuild V with -g, for better stacktraces on compiler panics
|
||||
run: v -g self
|
||||
|
@ -71,3 +63,16 @@ jobs:
|
|||
run: |
|
||||
v vlib/v/gen/native/macho_test.v
|
||||
v vlib/v/gen/native/tests/native_test.v
|
||||
|
||||
native-backend-windows:
|
||||
runs-on: windows-2019
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build V (Windows)
|
||||
run: ./make.bat && ./v symlink
|
||||
- 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
|
||||
|
|
2
.github/workflows/sanitized_ci.yml
vendored
2
.github/workflows/sanitized_ci.yml
vendored
|
@ -165,7 +165,7 @@ jobs:
|
|||
run: ./v -silent build-examples
|
||||
|
||||
sanitize-address-msvc:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2025
|
||||
timeout-minutes: 30
|
||||
env:
|
||||
VFLAGS: -cc msvc
|
||||
|
|
2
.github/workflows/symlink_ci.yml
vendored
2
.github/workflows/symlink_ci.yml
vendored
|
@ -58,7 +58,7 @@ jobs:
|
|||
v run hi.v
|
||||
|
||||
symlink-windows:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2025
|
||||
strategy:
|
||||
matrix:
|
||||
flags: ['', '-githubci']
|
||||
|
|
2
.github/workflows/time_ci.yml
vendored
2
.github/workflows/time_ci.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
run: TZ=Europe/Paris ./v test vlib/time/
|
||||
|
||||
time-windows:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2025
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build V
|
||||
|
|
2
.github/workflows/tools_ci.yml
vendored
2
.github/workflows/tools_ci.yml
vendored
|
@ -82,7 +82,7 @@ jobs:
|
|||
run: ./v -silent -W -cstrict test-self cmd
|
||||
|
||||
tools-windows:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2025
|
||||
strategy:
|
||||
matrix:
|
||||
cc: [tcc, gcc, msvc]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue