Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update to windows-2025 on ci
  • Loading branch information
coolreader18 authored and youknowone committed Jan 4, 2026
commit 7cc5c6af56fb016fa6607fc67b723d7a0295868c
22 changes: 4 additions & 18 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ env:
test_yield_from
# Python version targeted by the CI.
PYTHON_VERSION: "3.13.1"
X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR: C:\Program Files\OpenSSL\lib\VC\x64\MD
X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR: C:\Program Files\OpenSSL\include

jobs:
rust_tests:
Expand All @@ -118,7 +120,7 @@ jobs:
timeout-minutes: 45
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest, windows-2025]
fail-fast: false
steps:
- uses: actions/checkout@v6.0.1
Expand All @@ -127,14 +129,6 @@ jobs:
components: clippy
- uses: Swatinem/rust-cache@v2

# Only for OpenSSL builds
# - name: Set up the Windows environment
# shell: bash
# run: |
# git config --system core.longpaths true
# cargo install --target-dir=target -v cargo-vcpkg
# cargo vcpkg -v build
# if: runner.os == 'Windows'
- name: Set up the Mac environment
run: brew install autoconf automake libtool
if: runner.os == 'macOS'
Expand Down Expand Up @@ -257,7 +251,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest, windows-2025]
fail-fast: false
steps:
- uses: actions/checkout@v6.0.1
Expand All @@ -266,14 +260,6 @@ jobs:
- uses: actions/setup-python@v6.1.0
with:
python-version: ${{ env.PYTHON_VERSION }}
# Only for OpenSSL builds
# - name: Set up the Windows environment
# shell: bash
# run: |
# git config --system core.longpaths true
# cargo install cargo-vcpkg
# cargo vcpkg build
# if: runner.os == 'Windows'
- name: Set up the Mac environment
run: brew install autoconf automake libtool openssl@3
if: runner.os == 'macOS'
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ permissions:

env:
CARGO_ARGS: --no-default-features --features stdlib,importlib,encodings,sqlite,ssl
X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR: C:\Program Files\OpenSSL\lib\VC\x64\MD
X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR: C:\Program Files\OpenSSL\include

jobs:
build:
Expand All @@ -42,11 +44,11 @@ jobs:
target: aarch64-apple-darwin
# - runner: macos-latest
# target: x86_64-apple-darwin
- runner: windows-latest
- runner: windows-2025
target: x86_64-pc-windows-msvc
# - runner: windows-latest
# - runner: windows-2025
# target: i686-pc-windows-msvc
# - runner: windows-latest
# - runner: windows-2025
# target: aarch64-pc-windows-msvc
fail-fast: false
steps:
Expand All @@ -57,13 +59,6 @@ jobs:
- name: Set up Environment
shell: bash
run: rustup target add ${{ matrix.platform.target }}
- name: Set up Windows Environment
shell: bash
run: |
git config --global core.longpaths true
cargo install --target-dir=target -v cargo-vcpkg
cargo vcpkg -v build
if: runner.os == 'Windows'
- name: Set up MacOS Environment
run: brew install autoconf automake libtool
if: runner.os == 'macOS'
Expand Down
10 changes: 0 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ lto = "thin"
# REDOX START, Uncomment when you want to compile/check with redoxer
# REDOX END

# Used only on Windows to build the vcpkg dependencies
[package.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
# The revision of the vcpkg repository to use
# https://github.com/microsoft/vcpkg/tags
rev = "2025.09.17"

[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md", dev-dependencies = ["openssl" ] }

[package.metadata.packager]
product-name = "RustPython"
identifier = "com.rustpython.rustpython"
Expand Down