This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-49
lines changed Expand file tree Collapse file tree 4 files changed +11
-49
lines changed Original file line number Diff line number Diff line change @@ -154,9 +154,12 @@ jobs:
154
154
155
155
- name : checkout submodules
156
156
run : src/ci/scripts/checkout-submodules.sh
157
-
158
- - name : install MSYS2
159
- run : src/ci/scripts/install-msys2.sh
157
+
158
+ - name : Setup Python
159
+ uses : actions/setup-python@v5
160
+ with :
161
+ python-version : ' 3.x'
162
+ if : runner.environment == 'github-hosted'
160
163
161
164
- name : install MinGW
162
165
run : src/ci/scripts/install-mingw.sh
Original file line number Diff line number Diff line change @@ -378,7 +378,6 @@ auto:
378
378
# We are intentionally allowing an old toolchain on this builder (and that's
379
379
# incompatible with LLVM downloads today).
380
380
NO_DOWNLOAD_CI_LLVM : 1
381
- CUSTOM_MINGW : 1
382
381
<< : *job-windows-8c
383
382
384
383
- image : x86_64-mingw
@@ -390,7 +389,6 @@ auto:
390
389
# We are intentionally allowing an old toolchain on this builder (and that's
391
390
# incompatible with LLVM downloads today).
392
391
NO_DOWNLOAD_CI_LLVM : 1
393
- CUSTOM_MINGW : 1
394
392
<< : *job-windows-8c
395
393
396
394
- image : dist-x86_64-msvc
@@ -439,7 +437,6 @@ auto:
439
437
# incompatible with LLVM downloads today).
440
438
NO_DOWNLOAD_CI_LLVM : 1
441
439
SCRIPT : python x.py dist bootstrap --include-default-paths
442
- CUSTOM_MINGW : 1
443
440
DIST_REQUIRE_ALL_TOOLS : 1
444
441
<< : *job-windows-8c
445
442
@@ -453,7 +450,6 @@ auto:
453
450
# We are intentionally allowing an old toolchain on this builder (and that's
454
451
# incompatible with LLVM downloads today).
455
452
NO_DOWNLOAD_CI_LLVM : 1
456
- CUSTOM_MINGW : 1
457
453
DIST_REQUIRE_ALL_TOOLS : 1
458
454
<< : *job-windows-8c
459
455
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # If we need to download a custom MinGW, do so here and set the path
3
- # appropriately.
4
- #
5
- # Otherwise install MinGW through `pacman`
2
+ # For mingw builds use a vendored mingw.
6
3
7
4
set -euo pipefail
8
5
IFS=$' \n\t '
@@ -16,19 +13,16 @@ if isWindows && isKnownToBeMingwBuild; then
16
13
case " ${CI_JOB_NAME} " in
17
14
* i686* )
18
15
bits=32
19
- arch=i686
20
16
mingw_archive=" ${MINGW_ARCHIVE_32} "
21
17
;;
22
18
* x86_64* )
23
19
bits=64
24
- arch=x86_64
25
20
mingw_archive=" ${MINGW_ARCHIVE_64} "
26
21
;;
27
22
* aarch64* )
28
23
# aarch64 is a cross-compiled target. Use the x86_64
29
24
# mingw, since that's the host architecture.
30
25
bits=64
31
- arch=x86_64
32
26
mingw_archive=" ${MINGW_ARCHIVE_64} "
33
27
;;
34
28
* )
@@ -38,13 +32,9 @@ if isWindows && isKnownToBeMingwBuild; then
38
32
;;
39
33
esac
40
34
41
- if [[ " ${CUSTOM_MINGW:- 0} " == 0 ]]; then
42
- pacman -S --noconfirm --needed mingw-w64-$arch -toolchain
43
- else
44
- mingw_dir=" mingw${bits} "
35
+ mingw_dir=" mingw${bits} "
45
36
46
- curl -o mingw.7z " ${MIRRORS_BASE} /${mingw_archive} "
47
- 7z x -y mingw.7z > /dev/null
48
- ciCommandAddPath " $( pwd) /${mingw_dir} /bin"
49
- fi
37
+ curl -o mingw.7z " ${MIRRORS_BASE} /${mingw_archive} "
38
+ 7z x -y mingw.7z > /dev/null
39
+ ciCommandAddPath " $( pwd) /${mingw_dir} /bin"
50
40
fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments