File tree 3 files changed +21
-15
lines changed
3 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -579,10 +579,13 @@ jobs:
579
579
strategy :
580
580
matrix :
581
581
include :
582
- - name : dist-x86_64-linux
582
+ - name : i686-mingw
583
583
env :
584
- CODEGEN_BACKENDS : " llvm,cranelift"
585
- os : ubuntu-20.04-16core-64gb
584
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu"
585
+ SCRIPT : make ci-mingw
586
+ NO_DOWNLOAD_CI_LLVM : 1
587
+ CUSTOM_MINGW : 1
588
+ os : windows-2019-8core-32gb
586
589
timeout-minutes : 600
587
590
runs-on : " ${{ matrix.os }}"
588
591
steps :
Original file line number Diff line number Diff line change @@ -732,12 +732,15 @@ jobs:
732
732
strategy :
733
733
matrix :
734
734
include :
735
- - &dist-x86_64-linux
736
- name : dist-x86_64-linux
735
+ - name : i686-mingw
737
736
env :
738
- CODEGEN_BACKENDS : llvm,cranelift
739
- << : *job-linux-16c
740
-
737
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu
738
+ SCRIPT : make ci-mingw
739
+ # We are intentionally allowing an old toolchain on this builder (and that's
740
+ # incompatible with LLVM downloads today).
741
+ NO_DOWNLOAD_CI_LLVM : 1
742
+ CUSTOM_MINGW : 1
743
+ << : *job-windows-8c
741
744
742
745
master :
743
746
name : master
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ IFS=$'\n\t'
9
9
10
10
source " $( cd " $( dirname " $0 " ) " && pwd) /../shared.sh"
11
11
12
- MINGW_ARCHIVE_32=" i686-12.2.0-release-posix-dwarf-rt_v10-rev0.7z "
13
- MINGW_ARCHIVE_64=" x86_64-12.2.0-release-posix-seh-rt_v10-rev0.7z "
12
+ MINGW_ARCHIVE_32=" i686-w64-mingw32.tar.zst "
13
+ MINGW_ARCHIVE_64=" x86_64-w64-mingw32.tar.zst "
14
14
15
15
if isWindows; then
16
16
case " ${CI_JOB_NAME} " in
@@ -44,10 +44,10 @@ if isWindows; then
44
44
mingw-w64-$arch -python # the python package is actually for python3
45
45
ciCommandAddPath " $( ciCheckoutPath) /msys2/mingw${bits} /bin"
46
46
else
47
- mingw_dir= " mingw${bits} "
48
-
49
- curl -o mingw.7z " ${MIRRORS_BASE} / ${mingw_archive} "
50
- 7z x -y mingw.7z > /dev/null
51
- ciCommandAddPath " $( pwd) /${mingw_dir} /bin"
47
+ url= " https://github.com/mati865/ mingw-build/releases/download/v0 "
48
+ curl -L -o mingw.tar.zst " ${url} / ${mingw_archive} "
49
+ tar -xf mingw.tar.zst
50
+ ciCommandAddPath " $( pwd ) / ${arch} -w64-mingw32/bin "
51
+ ciCommandAddPath " $( pwd) /${arch} -w64-mingw32/ ${arch} -w64-mingw32 /bin"
52
52
fi
53
53
fi
You can’t perform that action at this time.
0 commit comments