Skip to content

Commit 8167478

Browse files
committed
WIP
1 parent 49e31b2 commit 8167478

File tree

2 files changed

+16
-27
lines changed

2 files changed

+16
-27
lines changed

.github/workflows/ci.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ jobs:
8787
fetch-depth: 2
8888

8989
- 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"
90+
cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0'
9191
cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0 && set'
92+
cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0 && set' 2> out.txt
93+
cat out.txt >> "$GITHUB_ENV"
9294
9395
# Free up disk space on Linux by removing preinstalled components that
9496
# we do not need. We do this to enable some of the less resource
@@ -183,9 +185,6 @@ jobs:
183185
- name: show the current environment
184186
run: src/ci/scripts/dump-environment.sh
185187

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-
189188
- name: run the build
190189
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
191190
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)