Skip to content

Commit 18fc7d7

Browse files
committed
WIP
1 parent 49e31b2 commit 18fc7d7

File tree

2 files changed

+38
-29
lines changed

2 files changed

+38
-29
lines changed

.github/workflows/ci.yml

+25-6
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,31 @@ 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+
# - run: |
90+
# cmd.exe /c 'set'
91+
# cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 uwp 10.0.22621.0'
92+
# cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 uwp 10.0.22621.0 & set'
93+
# cmd.exe /c '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 uwp 10.0.22621.0 & set' 2> out.txt
94+
# echo "ENVS"
95+
# cat out.txt
96+
# cat out.txt >> "$GITHUB_ENV"
97+
98+
- name: show the current environment
99+
run: src/ci/scripts/dump-environment.sh
100+
101+
- shell: cmd
102+
run: |
103+
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0 >NUL & set > %GITHUB_ENV%
104+
105+
- name: show the current environment
106+
run: src/ci/scripts/dump-environment.sh
107+
108+
- shell: pwsh
109+
run: |
110+
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.22621.0 >NUL & set > %GITHUB_ENV%
111+
112+
- name: show the current environment
113+
run: src/ci/scripts/dump-environment.sh
92114

93115
# Free up disk space on Linux by removing preinstalled components that
94116
# we do not need. We do this to enable some of the less resource
@@ -183,9 +205,6 @@ jobs:
183205
- name: show the current environment
184206
run: src/ci/scripts/dump-environment.sh
185207

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