Skip to content

Commit 2083348

Browse files
Add pipeline for gcext test (#257)
* Add pipeline for gcext test * Actually run embedding and gcext tests * Make gcext soft_fail * mark as Allow Fail * All of the "Allow Fail" jobs need to be launched from the same place Co-authored-by: Dilum Aluthge <[email protected]>
1 parent 709d226 commit 2083348

File tree

3 files changed

+43
-1
lines changed

3 files changed

+43
-1
lines changed

pipelines/main/launch_unsigned_jobs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ steps:
131131
repo_url: "https://github.com/JuliaCI/julia-buildkite"
132132
commands: |
133133
export ALLOW_FAIL="true"
134+
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/gcext.yml
134135
135136
# Launch Linux allowed-to-fail test jobs
136137
GROUP="Allow Fail" \

pipelines/main/misc/embedding.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ steps:
3131
embedding_output="/tmp/embedding-test"
3232
echo "+++ Run embedding tests, deploy to $${embedding_output:?}"
3333
mkdir -p "$${embedding_output:?}"
34-
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/embedding JULIA="$$(pwd)/usr/bin/julia" BIN="$${embedding_output:?}"
34+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/embedding check JULIA="$$(pwd)/usr/bin/julia" BIN="$${embedding_output:?}"
3535
timeout_in_minutes: 60
3636
agents:
3737
queue: "julia"

pipelines/main/misc/gcext.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
steps:
2+
- group: "Allow Fail"
3+
steps:
4+
- label: "gcext"
5+
key: "gcext"
6+
depends_on:
7+
- "build_x86_64-linux-gnu"
8+
plugins:
9+
- JuliaCI/external-buildkite#v1:
10+
version: "./.buildkite-external-version"
11+
repo_url: "https://github.com/JuliaCI/julia-buildkite"
12+
- JuliaCI/julia#v1:
13+
# Drop default "registries" directory, so it is not persisted from execution to execution
14+
persist_depot_dirs: packages,artifacts,compiled
15+
version: '1.6'
16+
- staticfloat/sandbox#v1:
17+
rootfs_url: https://github.com/JuliaCI/rootfs-images/releases/download/v4.8/package_linux.x86_64.tar.gz
18+
rootfs_treehash: "2a058481b567f0e91b9aa3ce4ad4f09e6419355a"
19+
uid: 1000
20+
gid: 1000
21+
workspaces:
22+
# Include `/cache/repos` so that our `git` version introspection works.
23+
- "/cache/repos:/cache/repos"
24+
commands: |
25+
# Download pre-built julia, extract into `usr/`
26+
buildkite-agent artifact download --step "build_x86_64-linux-gnu" 'julia-*-linux-x86_64.tar.gz' .
27+
mkdir -p usr
28+
tar -C usr --strip-components=1 -zxf julia-*-linux-x86_64.tar.gz
29+
rm -f julia-*-linux-x86_64.tar.gz
30+
31+
gcext_output="/tmp/gcext-test"
32+
echo "+++ Run gcext tests, deploy to $${gcext_output:?}"
33+
mkdir -p "$${gcext_output:?}"
34+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/gcext check JULIA="$$(pwd)/usr/bin/julia" BIN="$${gcext_output:?}"
35+
timeout_in_minutes: 60
36+
soft_fail: true
37+
agents:
38+
queue: "julia"
39+
sandbox_capable: "true"
40+
os: "linux"
41+
arch: "x86_64"

0 commit comments

Comments
 (0)