Skip to content

Commit ddc2bf7

Browse files
committed
CI (Buildkite): Add package_linux and tester_linux for more Linux architectures
1 parent 53aa65a commit ddc2bf7

File tree

17 files changed

+295
-192
lines changed

17 files changed

+295
-192
lines changed

.buildkite/pipelines/experimental/0_webui.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
agents:
55
queue: "julia"
66
sandbox.jl: "true"
7-
87
steps:
98
- label: ":unlock: Unlock secrets, launch pipelines"
109
plugins:
@@ -16,9 +15,8 @@ steps:
1615
# pipelines.
1716
unsigned_pipelines:
1817
- .buildkite/pipelines/experimental/launch_unsigned_builders.yml
19-
2018
# Our signed pipelines must have a `signature` or `signature_file` parameter that
2119
# verifies the treehash of the pipeline itself and the inputs listed in `inputs`
2220
# signed_pipelines:
2321
# - pipeline: .buildkite/pipelines/experimental/misc/foo_bar_baz.yml
24-
# signature: "my_signature"
22+
# signature_file: .buildkite/pipelines/experimental/misc/foo_bar_baz.yml.signature

.buildkite/pipelines/experimental/misc/sanitizers.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ agents:
33
# Only run on `sandbox.jl` machines (not `docker`-isolated ones) since we need nestable sandboxing
44
sandbox.jl: "true"
55
os: "linux"
6-
76
steps:
87
- label: "asan"
9-
key: asan
8+
key: "asan"
109
plugins:
1110
- JuliaCI/julia#v1:
1211
version: 1.6
@@ -17,13 +16,10 @@ steps:
1716
gid: 1000
1817
workspaces:
1918
- "/cache/repos:/cache/repos"
20-
# `contrib/check-asan.jl` needs a `julia` binary:
19+
# `contrib/check-asan.jl` needs a `julia` binary inside the inner sandbox:
2120
- JuliaCI/julia#v1:
2221
version: 1.6
2322
timeout_in_minutes: 120
24-
# notify:
25-
# - github_commit_status:
26-
# context: "asan"
2723
commands: |
2824
echo "--- Build julia-debug with ASAN"
29-
contrib/asan/build.sh ./tmp/test-asan -j$${JULIA_NUM_CORES} debug
25+
contrib/asan/build.sh ./tmp/test-asan -j$${JULIA_CPU_THREADS:?} debug

.buildkite/pipelines/main/0_webui.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
agents:
55
queue: "julia"
66
sandbox.jl: "true"
7-
87
steps:
98
- label: ":unlock: Unlock secrets, launch pipelines"
109
plugins:

.buildkite/pipelines/main/launch_unsigned_builders.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
steps:
1616
- label: ":buildkite: Launch unsigned builders"
1717
commands: |
18-
# First, we launch the `whitespace` builder, because we want that builder to finish as quickly as possible.
18+
# Launch the `whitespace` builder first, because we want that builder to finish as quickly as possible.
1919
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/whitespace.yml
2020
21-
# Next, we launch the miscellaneous builders in alphabetical order.
21+
# Launch the miscellaneous builders in alphabetical order.
2222
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/doctest.yml
2323
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/embedding.yml
2424
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/llvmpasses.yml
2525
26-
# Finally, we launch the platform builders (`package_*`) and (`tester_*`) in alphabetical order.
27-
buildkite-agent pipeline upload .buildkite/pipelines/main/platforms/linux64.yml
26+
# Launch all of the platform builders.
27+
bash .buildkite/pipelines/main/platforms/platforms.sh package_linux
28+
bash .buildkite/pipelines/main/platforms/platforms.sh tester_linux
2829
agents:
2930
queue: julia

.buildkite/pipelines/main/misc/doctest.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ agents:
33
# Only run on `sandbox.jl` machines (not `docker`-isolated ones) since we need nestable sandboxing
44
sandbox.jl: "true"
55
os: "linux"
6-
76
steps:
87
- label: "doctest"
98
key: doctest
@@ -31,6 +30,3 @@ steps:
3130
echo "--- Run Julia doctests"
3231
JULIA_NUM_THREADS=1 make -C doc doctest=true
3332
timeout_in_minutes: 45
34-
notify:
35-
- github_commit_status:
36-
context: "doctest"

.buildkite/pipelines/main/misc/embedding.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ agents:
33
# Only run on `sandbox.jl` machines (not `docker`-isolated ones) since we need nestable sandboxing
44
sandbox.jl: "true"
55
os: "linux"
6-
76
steps:
87
- label: "embedding"
98
key: "embedding"
@@ -20,15 +19,11 @@ steps:
2019
- "/cache/repos:/cache/repos"
2120
commands: |
2221
prefix="/tmp/prefix"
23-
echo "+++ Build julia, deploy to $${prefix}"
24-
make -j$${JULIA_NUM_CORES} JULIA_PRECOMPILE=0 prefix=$${prefix} install
22+
echo "+++ Build julia, deploy to $${prefix:?}"
23+
make -j$${JULIA_CPU_THREADS:?} JULIA_PRECOMPILE=0 prefix=$${prefix:?} install
2524
2625
embedding_output="/tmp/embedding-test"
27-
echo "+++ Run embedding tests, deploy to $${embedding_output}"
28-
mkdir -p "$${embedding_output}"
29-
make -j$${JULIA_NUM_CORES} -C test/embedding JULIA="$${prefix}/bin/julia" BIN="$${embedding_output}"
30-
26+
echo "+++ Run embedding tests, deploy to $${embedding_output:?}"
27+
mkdir -p "$${embedding_output:?}"
28+
make -j$${JULIA_CPU_THREADS:?} -C test/embedding JULIA="$${prefix:?}/bin/julia" BIN="$${embedding_output:?}"
3129
timeout_in_minutes: 60
32-
notify:
33-
- github_commit_status:
34-
context: "embedding"

.buildkite/pipelines/main/misc/llvmpasses.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ agents:
33
# Only run on `sandbox.jl` machines (not `docker`-isolated ones) since we need nestable sandboxing
44
sandbox.jl: "true"
55
os: "linux"
6-
76
steps:
87
- label: "analyzegc"
98
key: "analyzegc"
@@ -18,15 +17,11 @@ steps:
1817
- "/cache/repos:/cache/repos"
1918
commands: |
2019
echo "--- Install in-tree LLVM dependencies"
21-
make -j$${JULIA_NUM_CORES} -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
20+
make -j$${JULIA_CPU_THREADS:?} -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
2221
echo "+++ run clangsa/analyzegc"
23-
make -j$${JULIA_NUM_CORES} -C test/clangsa
24-
make -j$${JULIA_NUM_CORES} -C src analyzegc
22+
make -j$${JULIA_CPU_THREADS:?} -C test/clangsa
23+
make -j$${JULIA_CPU_THREADS:?} -C src analyzegc
2524
timeout_in_minutes: 60
26-
notify:
27-
- github_commit_status:
28-
context: "analyzegc"
29-
3025
- label: "llvmpasses"
3126
key: "llvmpasses"
3227
plugins:
@@ -41,12 +36,9 @@ steps:
4136
- "/cache/repos:/cache/repos"
4237
commands: |
4338
echo "--- make release"
44-
make -j$${JULIA_NUM_CORES} release JULIA_PRECOMPILE=0
39+
make -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0
4540
echo "--- make src/install-analysis-deps"
46-
make -j$${JULIA_NUM_CORES} -C src install-analysis-deps
41+
make -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps
4742
echo "+++ make test/llvmpasses"
48-
make -j$${JULIA_NUM_CORES} -C test/llvmpasses
43+
make -j$${JULIA_CPU_THREADS:?} -C test/llvmpasses
4944
timeout_in_minutes: 60
50-
notify:
51-
- github_commit_status:
52-
context: "llvmpasses"

.buildkite/pipelines/main/misc/whitespace.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ agents:
33
# Only run on `sandbox.jl` machines (not `docker`-isolated ones) since we need nestable sandboxing
44
sandbox.jl: "true"
55
os: "linux"
6-
76
steps:
87
- label: "whitespace"
98
key: "whitespace"
@@ -15,9 +14,9 @@ steps:
1514
rootfs_treehash: "8c33c341a864852629b8aac01a6eb6a79b73570e"
1615
workspaces:
1716
- "/cache/repos:/cache/repos"
18-
commands: |
19-
make -j$${JULIA_NUM_CORES} check-whitespace
2017
timeout_in_minutes: 10
2118
notify:
2219
- github_commit_status:
2320
context: "whitespace"
21+
commands: |
22+
make -j$${JULIA_CPU_THREADS:?} check-whitespace

.buildkite/pipelines/main/platforms/linux64.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ARCH ARCH_LABEL ROOTFS_ARCH TIMEOUT ROOTFS_TAG ROOTFS_TREE
2+
# aarch64 aarch64 aarch64 60 v3.2 0566841e29f0f9880541c26a6595fd5ce0beb5ff
3+
# armv7l armv7l armv7l 60 v3.2 fb359370b052a47ce5c84cc6b4a7a03ed7053b25
4+
32 32 i686 60 v3.2 209c4db679a515befd7fb50ecc6bfbecf7ec3d32
5+
# ppc64le ppc64le powerpc64le 60 v3.2 c03a0158b19d48ac84b426834fce0d3584cdd0c7
6+
64 64 x86_64 60 v3.2 474bf61a926b2d7fcf202284d59d4b11a04601d7

0 commit comments

Comments
 (0)