Skip to content

Commit f892202

Browse files
committed
tmp: make try builds use the x64 msvc builder
1 parent 646aa21 commit f892202

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

.github/workflows/ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,12 @@ jobs:
593593
strategy:
594594
matrix:
595595
include:
596-
- name: dist-x86_64-linux
596+
- name: dist-x86_64-msvc
597597
env:
598-
CODEGEN_BACKENDS: "llvm,cranelift"
599-
os: ubuntu-20.04-16core-64gb
598+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler --set rust.codegen-units=1"
599+
SCRIPT: python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths
600+
DIST_REQUIRE_ALL_TOOLS: 1
601+
os: windows-2019-8core-32gb
600602
defaults:
601603
run:
602604
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"

src/ci/github-actions/ci.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -759,11 +759,18 @@ jobs:
759759
strategy:
760760
matrix:
761761
include:
762-
- &dist-x86_64-linux
763-
name: dist-x86_64-linux
762+
- name: dist-x86_64-msvc
764763
env:
765-
CODEGEN_BACKENDS: llvm,cranelift
766-
<<: *job-linux-16c
764+
RUST_CONFIGURE_ARGS: >-
765+
--build=x86_64-pc-windows-msvc
766+
--host=x86_64-pc-windows-msvc
767+
--target=x86_64-pc-windows-msvc
768+
--enable-full-tools
769+
--enable-profiler
770+
--set rust.codegen-units=1
771+
SCRIPT: python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths
772+
DIST_REQUIRE_ALL_TOOLS: 1
773+
<<: *job-windows-8c
767774

768775

769776
master:

0 commit comments

Comments
 (0)