File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ jobs:
149
149
150
150
- name : install MinGW
151
151
run : src/ci/scripts/install-mingw.sh
152
+
153
+ - name : show the current environment
154
+ run : src/ci/scripts/dump-environment.sh
152
155
153
156
- name : install ninja
154
157
run : src/ci/scripts/install-ninja.sh
@@ -172,6 +175,12 @@ jobs:
172
175
173
176
- name : ensure the stable version number is correct
174
177
run : src/ci/scripts/verify-stable-version-number.sh
178
+
179
+ - name : show the current environment
180
+ run : src/ci/scripts/dump-environment.sh
181
+
182
+ - name : exit
183
+ run : exit 1
175
184
176
185
- name : run the build
177
186
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
Original file line number Diff line number Diff line change @@ -9,19 +9,25 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
9
9
MINGW_ARCHIVE_32=" i686-14.1.0-release-posix-dwarf-msvcrt-rt_v12-rev0.7z"
10
10
MINGW_ARCHIVE_64=" x86_64-14.1.0-release-posix-seh-msvcrt-rt_v12-rev0.7z"
11
11
12
+ echo " running install-mingw.sh"
13
+
12
14
if isWindows && isKnownToBeMingwBuild; then
15
+ echo " I am mingw on Windows"
13
16
case " ${CI_JOB_NAME} " in
14
17
* i686* )
15
18
bits=32
16
19
mingw_archive=" ${MINGW_ARCHIVE_32} "
20
+ echo " I have 32-bits"
17
21
;;
18
22
* x86_64* )
19
23
bits=64
20
24
mingw_archive=" ${MINGW_ARCHIVE_64} "
25
+ echo " I have 64-bits"
21
26
;;
22
27
* aarch64* )
23
28
# aarch64 is a cross-compiled target. Use the x86_64
24
29
# mingw, since that's the host architecture.
30
+ echo " I should not be here"
25
31
bits=64
26
32
mingw_archive=" ${MINGW_ARCHIVE_64} "
27
33
;;
@@ -36,5 +42,6 @@ if isWindows && isKnownToBeMingwBuild; then
36
42
37
43
curl -o mingw.7z " ${MIRRORS_BASE} /${mingw_archive} "
38
44
7z x -y mingw.7z > /dev/null
45
+ ciCommandSetEnv MSYS2_PATH_TYPE inherit
39
46
ciCommandAddPath " $( pwd) /${mingw_dir} /bin"
40
47
fi
You can’t perform that action at this time.
0 commit comments