diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 31d791d6..07b31d65 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -79,12 +79,18 @@ steps: - group: ":eyes: Special" depends_on: "julia" steps: - - label: "Validation" + # run the tests with Level Zero's validation layer and debug builds of the driver and + # compiler. their assertions have caught toolchain bugs, which show up on every branch + # at once, so pull requests skip the GPUArrays test suite (most of the run time), and + # branch builds run everything. + - &validation + label: "Validation" plugins: - JuliaCI/julia#v1: version: "1.13" - JuliaCI/julia-test#v1: julia_args: "-g2" + test_args: "!gpuarrays" - JuliaCI/julia-coverage#v1: codecov: true dirs: @@ -106,9 +112,28 @@ steps: if: | build.message !~ /\[skip [^\]]*(tests|special)/ && (build.message =~ /\[only [^\]]*(tests|special)/ || - build.message !~ /\[only / && !build.pull_request.draft) + build.message !~ /\[only / && !build.pull_request.draft) && + (build.pull_request.id != null || build.branch =~ /^ci\/pr-/) timeout_in_minutes: 120 + - <<: *validation + plugins: + - JuliaCI/julia#v1: + version: "1.13" + - JuliaCI/julia-test#v1: + julia_args: "-g2" + - JuliaCI/julia-coverage#v1: + codecov: true + dirs: + - src + - lib + - examples + if: | + build.message !~ /\[skip [^\]]*(tests|special)/ && + (build.message =~ /\[only [^\]]*(tests|special)/ || build.message !~ /\[only /) && + build.pull_request.id == null && build.branch !~ /^ci\/pr-/ + timeout_in_minutes: 180 + # drivers without `zeCommandListImmediateAppendCommandListsExp` don't batch, so check # that the core functionality behaves the same. not tested on pull requests. - label: "Without batching"