Skip to content

Commit b6d6a9f

Browse files
committed
Cleanup custom mingw in CI
1 parent bdbbb6c commit b6d6a9f

File tree

4 files changed

+4
-42
lines changed

4 files changed

+4
-42
lines changed

.github/workflows/ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ jobs:
155155
- name: checkout submodules
156156
run: src/ci/scripts/checkout-submodules.sh
157157

158-
- name: install MSYS2
159-
run: src/ci/scripts/install-msys2.sh
160-
161158
- name: install MinGW
162159
run: src/ci/scripts/install-mingw.sh
163160

src/ci/github-actions/jobs.yml

-4
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ auto:
378378
# We are intentionally allowing an old toolchain on this builder (and that's
379379
# incompatible with LLVM downloads today).
380380
NO_DOWNLOAD_CI_LLVM: 1
381-
CUSTOM_MINGW: 1
382381
<<: *job-windows-8c
383382

384383
- image: x86_64-mingw
@@ -390,7 +389,6 @@ auto:
390389
# We are intentionally allowing an old toolchain on this builder (and that's
391390
# incompatible with LLVM downloads today).
392391
NO_DOWNLOAD_CI_LLVM: 1
393-
CUSTOM_MINGW: 1
394392
<<: *job-windows-8c
395393

396394
- image: dist-x86_64-msvc
@@ -439,7 +437,6 @@ auto:
439437
# incompatible with LLVM downloads today).
440438
NO_DOWNLOAD_CI_LLVM: 1
441439
SCRIPT: python x.py dist bootstrap --include-default-paths
442-
CUSTOM_MINGW: 1
443440
DIST_REQUIRE_ALL_TOOLS: 1
444441
<<: *job-windows-8c
445442

@@ -453,7 +450,6 @@ auto:
453450
# We are intentionally allowing an old toolchain on this builder (and that's
454451
# incompatible with LLVM downloads today).
455452
NO_DOWNLOAD_CI_LLVM: 1
456-
CUSTOM_MINGW: 1
457453
DIST_REQUIRE_ALL_TOOLS: 1
458454
<<: *job-windows-8c
459455

src/ci/scripts/install-mingw.sh

+4-8
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,9 @@ if isWindows && isKnownToBeMingwBuild; then
3838
;;
3939
esac
4040

41-
if [[ "${CUSTOM_MINGW:-0}" == 0 ]]; then
42-
pacman -S --noconfirm --needed mingw-w64-$arch-toolchain
43-
else
44-
mingw_dir="mingw${bits}"
41+
mingw_dir="mingw${bits}"
4542

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
43+
curl -o mingw.7z "${MIRRORS_BASE}/${mingw_archive}"
44+
7z x -y mingw.7z > /dev/null
45+
ciCommandAddPath "$(pwd)/${mingw_dir}/bin"
5046
fi

src/ci/scripts/install-msys2.sh

-27
This file was deleted.

0 commit comments

Comments
 (0)