Skip to content

Commit 14504da

Browse files
committed
[DO NOT MERGE] Test removing python setup
1 parent bdbbb6c commit 14504da

File tree

2 files changed

+16
-22
lines changed

2 files changed

+16
-22
lines changed

src/ci/github-actions/jobs.yml

+16-5
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,23 @@ pr:
7878
- image: mingw-check-tidy
7979
continue_on_error: true
8080
<<: *job-linux-4c
81-
- image: x86_64-gnu-llvm-17
81+
- image: x86_64-msvc
8282
env:
83-
ENABLE_GCC_CODEGEN: "1"
84-
<<: *job-linux-16c
85-
- image: x86_64-gnu-tools
86-
<<: *job-linux-16c
83+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
84+
SCRIPT: make ci-msvc
85+
<<: *job-windows-8c
86+
- image: x86_64-mingw
87+
env:
88+
SCRIPT: make ci-mingw
89+
RUST_CONFIGURE_ARGS: >-
90+
--build=x86_64-pc-windows-gnu
91+
--enable-profiler
92+
# We are intentionally allowing an old toolchain on this builder (and that's
93+
# incompatible with LLVM downloads today).
94+
NO_DOWNLOAD_CI_LLVM: 1
95+
CUSTOM_MINGW: 1
96+
<<: *job-windows-8c
97+
8798

8899
# Jobs that run when you perform a try build (@bors try)
89100
# These jobs automatically inherit envs.try, to avoid repeating

src/ci/scripts/install-msys2.sh

-17
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,4 @@ IFS=$'\n\t'
77

88
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
99
if isWindows; then
10-
# Detect the native Python version installed on the agent. On GitHub
11-
# Actions, the C:\hostedtoolcache\windows\Python directory contains a
12-
# subdirectory for each installed Python version.
13-
#
14-
# The -V flag of the sort command sorts the input by version number.
15-
native_python_version="$(ls /c/hostedtoolcache/windows/Python | sort -Vr | head -n 1)"
16-
17-
# Make sure we use the native python interpreter instead of some msys equivalent
18-
# one way or another. The msys interpreters seem to have weird path conversions
19-
# baked in which break LLVM's build system one way or another, so let's use the
20-
# native version which keeps everything as native as possible.
21-
python_home="/c/hostedtoolcache/windows/Python/${native_python_version}/x64"
22-
if ! [[ -f "${python_home}/python3.exe" ]]; then
23-
cp "${python_home}/python.exe" "${python_home}/python3.exe"
24-
fi
25-
ciCommandAddPath "C:\\hostedtoolcache\\windows\\Python\\${native_python_version}\\x64"
26-
ciCommandAddPath "C:\\hostedtoolcache\\windows\\Python\\${native_python_version}\\x64\\Scripts"
2710
fi

0 commit comments

Comments
 (0)