Skip to content

Commit 7d7d8dc

Browse files
committed
TEMP: Switch try to use Windows
1 parent 7fe58da commit 7d7d8dc

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -578,10 +578,10 @@ jobs:
578578
strategy:
579579
matrix:
580580
include:
581-
- name: dist-x86_64-linux
581+
- name: dist-x86_64-msvc
582582
env:
583583
CODEGEN_BACKENDS: "llvm,cranelift"
584-
os: ubuntu-20.04-16core-64gb
584+
os: windows-2019-8core-32gb
585585
timeout-minutes: 600
586586
runs-on: "${{ matrix.os }}"
587587
steps:

src/ci/github-actions/ci.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -727,11 +727,18 @@ jobs:
727727
strategy:
728728
matrix:
729729
include:
730-
- &dist-x86_64-linux
731-
name: dist-x86_64-linux
730+
- &dist-x86_64-msvc
731+
name: dist-x86_64-msvc
732732
env:
733-
CODEGEN_BACKENDS: llvm,cranelift
734-
<<: *job-linux-16c
733+
RUST_CONFIGURE_ARGS: >-
734+
--build=x86_64-pc-windows-msvc
735+
--host=x86_64-pc-windows-msvc
736+
--target=x86_64-pc-windows-msvc
737+
--enable-full-tools
738+
--enable-profiler
739+
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
740+
DIST_REQUIRE_ALL_TOOLS: 1
741+
<<: *job-windows-8c
735742

736743

737744
master:

0 commit comments

Comments
 (0)