Skip to content

Commit 3ce6659

Browse files
committed
Add Windows version of --trim tests
1 parent 23c189d commit 3ce6659

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

pipelines/main/launch_unsigned_jobs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ steps:
8484
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/doctest.yml
8585
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/pdf_docs/build_pdf_docs.yml
8686
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/embedding.yml
87-
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/trimming.yml
87+
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/trimming_linux.yml
88+
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/trimming_windows.yml
8889
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/llvmpasses.yml
8990
# buildkite-agent pipeline upload .buildkite/pipelines/main/misc/whitespace.yml # Currently runs in GitHub Actions instead of Buildkite
9091

pipelines/main/misc/trimming.yml renamed to pipelines/main/misc/trimming_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
steps:
22
- group: "Check"
33
steps:
4-
- label: "trimming"
5-
key: "trimming"
4+
- label: ":linux: trimming"
5+
key: "trimming_x86_64-linux-gnu"
66
depends_on:
77
- "build_x86_64-linux-gnu"
88
plugins:
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
steps:
2+
- group: "Check"
3+
steps:
4+
- label: ":windows: trimming"
5+
key: "trimming_x86_64-w64-mingw32"
6+
depends_on:
7+
- "build_x86_64-w64-mingw32"
8+
plugins:
9+
- JuliaCI/external-buildkite#v1:
10+
version: "./.buildkite-external-version"
11+
repo_url: "https://github.com/JuliaCI/julia-buildkite"
12+
if: | # We only run the `trimming` job on Julia 1.12 and later.
13+
(pipeline.slug != "julia-release-1-dot-10") && (pipeline.slug != "julia-release-1-dot-11")
14+
commands: |
15+
# Download pre-built julia, extract into `usr/`
16+
buildkite-agent artifact download --step "build_x86_64-w64-mingw32" 'julia-*-windows-x86_64.tar.gz' .
17+
mkdir -p usr
18+
tar -C usr --strip-components=1 -zxf julia-*-windows-x86_64.tar.gz
19+
rm -f julia-*-windows-x86_64.tar.gz
20+
21+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/trimming check JULIA="$$(pwd)/usr/bin/julia" BIN="$$(pwd)/usr/bin"
22+
timeout_in_minutes: 60
23+
agents:
24+
queue: "julia"
25+
os: "windows"
26+
arch: "x86_64"
27+
env:
28+
JULIA_SHELL: "/bin/bash"

0 commit comments

Comments
 (0)