Skip to content

Commit 2eba070

Browse files
committed
WIP
1 parent 49e31b2 commit 2eba070

File tree

2 files changed

+26
-29
lines changed

2 files changed

+26
-29
lines changed

.github/workflows/ci.yml

+13-6
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,19 @@ jobs:
8686
with:
8787
fetch-depth: 2
8888

89-
- run: |
90-
cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0 && set' >> "$GITHUB_ENV"
91-
cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0 && set'
89+
- name: show the current environment
90+
run: src/ci/scripts/dump-environment.sh
91+
92+
- shell: powershell
93+
run: |
94+
$vs = &"${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -format value -property installationPath
95+
cmd /c "`"$vs\VC\Auxiliary\Build\vcvarsall.bat`" amd64_x86 10.0.22621.0 & SET" >> envs.txt
96+
echo "Printing current environment variables"
97+
cat envs.txt
98+
cat envs.txt >> $env:GITHUB_ENV
99+
100+
- name: show the current environment
101+
run: src/ci/scripts/dump-environment.sh
92102

93103
# Free up disk space on Linux by removing preinstalled components that
94104
# we do not need. We do this to enable some of the less resource
@@ -183,9 +193,6 @@ jobs:
183193
- name: show the current environment
184194
run: src/ci/scripts/dump-environment.sh
185195

186-
- run: |
187-
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0 >NUL & set > %GITHUB_ENV%
188-
189196
- name: run the build
190197
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
191198
run: src/ci/scripts/run-build-from-ci.sh 2>&1

src/ci/github-actions/jobs.yml

+13-23
Original file line numberDiff line numberDiff line change
@@ -100,30 +100,20 @@ envs:
100100
# These jobs automatically inherit envs.pr, to avoid repeating
101101
# it in each job definition.
102102
pr:
103-
- name: i686-msvc-1
104-
env:
105-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --enable-sanitizers
106-
SCRIPT: make ci-msvc-py
107-
<<: *job-windows-8c
108-
109-
- name: i686-msvc-2
110-
env:
111-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --enable-sanitizers
112-
SCRIPT: make ci-msvc-ps1
113-
<<: *job-windows-8c
114-
115-
- name: dist-i686-msvc
103+
- name: mingw-check
104+
<<: *job-linux-4c
105+
- name: mingw-check-tidy
106+
continue_on_error: true
107+
<<: *job-linux-4c
108+
- name: x86_64-gnu-llvm-18
116109
env:
117-
RUST_CONFIGURE_ARGS: >-
118-
--build=i686-pc-windows-msvc
119-
--host=i686-pc-windows-msvc
120-
--target=i686-pc-windows-msvc,i586-pc-windows-msvc
121-
--enable-full-tools
122-
--enable-profiler
123-
SCRIPT: python x.py dist bootstrap --include-default-paths
124-
DIST_REQUIRE_ALL_TOOLS: 1
125-
CODEGEN_BACKENDS: llvm,cranelift
126-
<<: *job-windows-8c
110+
ENABLE_GCC_CODEGEN: "1"
111+
# We are adding (temporarily) a dummy commit on the compiler
112+
READ_ONLY_SRC: "0"
113+
DOCKER_SCRIPT: x86_64-gnu-llvm.sh
114+
<<: *job-linux-16c
115+
- name: x86_64-gnu-tools
116+
<<: *job-linux-16c
127117

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

0 commit comments

Comments
 (0)