Skip to content

Commit 1dc3df4

Browse files
committed
Update to windows-2025 on ci
1 parent 544182e commit 1dc3df4

File tree

3 files changed

+6
-34
lines changed

3 files changed

+6
-34
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
runs-on: ${{ matrix.os }}
120120
strategy:
121121
matrix:
122-
os: [macos-latest, ubuntu-latest, windows-latest]
122+
os: [macos-latest, ubuntu-latest, windows-2025]
123123
fail-fast: false
124124
steps:
125125
- uses: actions/checkout@v4
@@ -128,12 +128,6 @@ jobs:
128128
components: clippy
129129
- uses: Swatinem/rust-cache@v2
130130

131-
- name: Set up the Windows environment
132-
shell: bash
133-
run: |
134-
cargo install --target-dir=target -v cargo-vcpkg
135-
cargo vcpkg -v build
136-
if: runner.os == 'Windows'
137131
- name: Set up the Mac environment
138132
run: brew install autoconf automake libtool
139133
if: runner.os == 'macOS'
@@ -242,7 +236,7 @@ jobs:
242236
runs-on: ${{ matrix.os }}
243237
strategy:
244238
matrix:
245-
os: [macos-latest, ubuntu-latest, windows-latest]
239+
os: [macos-latest, ubuntu-latest, windows-2025]
246240
fail-fast: false
247241
steps:
248242
- uses: actions/checkout@v4
@@ -251,12 +245,6 @@ jobs:
251245
- uses: actions/setup-python@v5
252246
with:
253247
python-version: ${{ env.PYTHON_VERSION }}
254-
- name: Set up the Windows environment
255-
shell: bash
256-
run: |
257-
cargo install cargo-vcpkg
258-
cargo vcpkg build
259-
if: runner.os == 'Windows'
260248
- name: Set up the Mac environment
261249
run: brew install autoconf automake libtool openssl@3
262250
if: runner.os == 'macOS'

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
target: aarch64-apple-darwin
4141
# - runner: macos-latest
4242
# target: x86_64-apple-darwin
43-
- runner: windows-latest
43+
- runner: windows-2025
4444
target: x86_64-pc-windows-msvc
45-
# - runner: windows-latest
45+
# - runner: windows-2025
4646
# target: i686-pc-windows-msvc
47-
# - runner: windows-latest
47+
# - runner: windows-2025
4848
# target: aarch64-pc-windows-msvc
4949
fail-fast: false
5050
steps:
@@ -54,12 +54,6 @@ jobs:
5454
- name: Set up Environment
5555
shell: bash
5656
run: rustup target add ${{ matrix.platform.target }}
57-
- name: Set up Windows Environment
58-
shell: bash
59-
run: |
60-
cargo install --target-dir=target -v cargo-vcpkg
61-
cargo vcpkg -v build
62-
if: runner.os == 'Windows'
6357
- name: Set up MacOS Environment
6458
run: brew install autoconf automake libtool
6559
if: runner.os == 'macOS'
@@ -142,4 +136,4 @@ jobs:
142136
--target="$tag" \
143137
--generate-notes \
144138
$PRERELEASE_ARG \
145-
bin/rustpython-release-*
139+
bin/rustpython-release-*

Cargo.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@ lto = "thin"
8181
# REDOX START, Uncomment when you want to compile/check with redoxer
8282
# REDOX END
8383

84-
# Used only on Windows to build the vcpkg dependencies
85-
[package.metadata.vcpkg]
86-
git = "https://github.com/microsoft/vcpkg"
87-
# The revision of the vcpkg repository to use
88-
# https://github.com/microsoft/vcpkg/tags
89-
rev = "2024.02.14"
90-
91-
[package.metadata.vcpkg.target]
92-
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md", dev-dependencies = ["openssl" ] }
93-
9484
[workspace]
9585
resolver = "2"
9686
members = [

0 commit comments

Comments
 (0)