Skip to content

Commit

Permalink
Debug CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Mar 2, 2023
1 parent a6c9b14 commit 29f1b7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 77 deletions.
78 changes: 1 addition & 77 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,82 +3,12 @@ steps:
- group: ":julia: Julia"
key: "julia"
steps:
- label: "Julia 1.8"
plugins:
- JuliaCI/julia#v1:
version: 1.8
- JuliaCI/julia-test#v1:
test_args: "--quickfail"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
command: |
julia --project=deps deps/build_ci.jl
agents:
queue: "juliaecosystem"
os: "macos"
arch: "aarch64"
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 60

- label: "Julia 1.9"
plugins:
- JuliaCI/julia#v1:
version: 1.9-nightly
- JuliaCI/julia-test#v1:
test_args: "--quickfail"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
command: |
julia --project=deps deps/build_ci.jl
agents:
queue: "juliaecosystem"
os: "macos"
arch: "aarch64"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 60

# - label: "Julia nightly"
# plugins:
# - JuliaCI/julia#v1:
# version: nightly
# - JuliaCI/julia-test#v1:
# test_args: "--quickfail"
# - JuliaCI/julia-coverage#v1:
# codecov: true
# dirs:
# - src
# - lib
# - examples
# command: |
# julia --project=deps deps/build_ci.jl
# agents:
# queue: "juliaecosystem"
# os: "macos"
# arch: "aarch64"
# if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
# timeout_in_minutes: 60
# soft_fail:
# - exit_status: 1

# special tests
- group: ":eyes: Special"
depends_on: "julia"
steps:
- label: "Metal API Validation"
plugins:
- JuliaCI/julia#v1:
version: 1.8
- JuliaCI/julia-test#v1:
test_args: "--quickfail metal"
# only enabled for select tests due to JuliaGPU/Metal.jl#34
test_args: "gpuarrays/random"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
Expand All @@ -87,15 +17,9 @@ steps:
- examples
command: |
julia --project=deps deps/build_ci.jl
env:
MTL_DEBUG_LAYER: '1'
MTL_SHADER_VALIDATION: '1'
agents:
queue: "juliaecosystem"
os: "macos"
arch: "aarch64"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 60

env:
SECRET_CODECOV_TOKEN: "dysHhdzb4Afv/ogVhu+SVWpcFyzFgwzgpiM3rdPuwwKtzCZVvPYWMCE22WCTUvpJQG/TYY7wmDJA9nH5j1VUd9Y55IamkDDMrOkLsdI+Mu7pmIjfJ0DzRZymP0q5HF4X1lp9YlTErko+ZHYghZktQUqDDWr7g/ponCyNba/uBUEi0wXLISiS+/kRDtOKtAQXV55VdcG7H9pXfWYgWrfDKZVRk/6Jgx6djsYwPYjM6AygFm1SmWRynBIqP/n/H94u8lMTcfv3iFs98RwWja7Nu8rwn82325qqIvE25B3PPPUcYK8KMclKj5FA9U6F/ta58h8zGR/rnKxDJSvER3RF+g==;U2FsdGVkX18jTxzRENWrQI03MQepANTHhy2iYZHwpTzIZnWR26SUBLJCdmJonz0YffMXQuTO0II1VAqgMVnopA=="
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,14 @@ function print_testworker_stats(test, wrkr, resp)
end
end
global print_testworker_started = (name, wrkr)->begin
lock(print_lock)
try
printstyled(name, color=:white)
printstyled(lpad("($wrkr)", name_align - textwidth(name) + 1, " "), " |",
" "^elapsed_align, "started at $(now())\n", color=:white)
finally
unlock(print_lock)
end
end
function print_testworker_errored(name, wrkr)
lock(print_lock)
Expand Down

0 comments on commit 29f1b7c

Please sign in to comment.