Skip to content

Commit 0e33635

Browse files
committed
Auto merge of rust-lang#136812 - ChrisDenton:mingw-ci, r=<try>
[DO NOT MERGE] try-job: dist-i686-mingw
2 parents 8c04e39 + cfa9e9c commit 0e33635

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Diff for: .github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ jobs:
144144
- name: disable git crlf conversion
145145
run: src/ci/scripts/disable-git-crlf-conversion.sh
146146

147-
- name: checkout submodules
148-
run: src/ci/scripts/checkout-submodules.sh
147+
#- name: checkout submodules
148+
# run: src/ci/scripts/checkout-submodules.sh
149149

150150
- name: install MinGW
151151
run: src/ci/scripts/install-mingw.sh
@@ -173,6 +173,12 @@ jobs:
173173
- name: ensure the stable version number is correct
174174
run: src/ci/scripts/verify-stable-version-number.sh
175175

176+
- name: show the current environment
177+
run: src/ci/scripts/dump-environment.sh
178+
179+
- name: exit
180+
run: exit 1
181+
176182
- name: run the build
177183
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
178184
run: src/ci/scripts/run-build-from-ci.sh 2>&1

Diff for: src/ci/scripts/install-mingw.sh

+6
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ if isWindows && isKnownToBeMingwBuild; then
1414
*i686*)
1515
bits=32
1616
mingw_archive="${MINGW_ARCHIVE_32}"
17+
echo "I have 32-bits"
1718
;;
1819
*x86_64*)
1920
bits=64
2021
mingw_archive="${MINGW_ARCHIVE_64}"
22+
echo "I have 64-bits"
2123
;;
2224
*aarch64*)
2325
# aarch64 is a cross-compiled target. Use the x86_64
2426
# mingw, since that's the host architecture.
27+
echo "I should not be here"
2528
bits=64
2629
mingw_archive="${MINGW_ARCHIVE_64}"
2730
;;
@@ -32,6 +35,9 @@ if isWindows && isKnownToBeMingwBuild; then
3235
;;
3336
esac
3437

38+
msys2Path="c:/msys64"
39+
ciCommandAddPath "${msys2Path}/usr/bin"
40+
3541
mingw_dir="mingw${bits}"
3642

3743
curl -o mingw.7z "${MIRRORS_BASE}/${mingw_archive}"

0 commit comments

Comments
 (0)