Skip to content

Commit 6574bd2

Browse files
authored
Merge pull request #1970 from JuliaGPU/tb/ci
CI simplifications
2 parents 505d69f + 1b7a3df commit 6574bd2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+94
-175
lines changed

.buildkite/pipeline.yml

Lines changed: 26 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,23 @@ steps:
3636
- "1.7"
3737
- "1.8"
3838
- "1.9"
39-
- "nightly"
40-
adjustments:
41-
- with:
42-
julia: "nightly"
43-
soft_fail: true
39+
# - "nightly"
40+
# adjustments:
41+
# - with:
42+
# julia: "nightly"
43+
# soft_fail: true
4444

4545
# then, test supported CUDA toolkits (installed through the artifact system)
4646
- group: "CUDA"
4747
key: "cuda"
4848
depends_on: "julia"
4949
steps:
50-
# NOTE: we support those CUDA versions for which the latest cuDNN is available
51-
# https://developer.nvidia.com/rdp/cudnn-archive
52-
5350
- label: "CUDA {{matrix.cuda}}"
5451
plugins:
5552
- JuliaCI/julia#v1:
5653
version: 1.8
5754
- JuliaCI/julia-test#v1:
58-
test_args: "--thorough"
55+
test_args: "core base libraries"
5956
- JuliaCI/julia-coverage#v1:
6057
dirs:
6158
- src
@@ -226,28 +223,26 @@ steps:
226223
!build.pull_request.draft
227224
timeout_in_minutes: 30
228225

229-
# XXX: fails often, and is very slow
230-
#- label: "Compute sanitizer"
231-
# plugins:
232-
# - JuliaCI/julia#v1:
233-
# version: 1.8
234-
# - JuliaCI/julia-test#v1:
235-
# julia_args: "-g2"
236-
# test_args: "--sanitize --quickfail --jobs=2"
237-
# - JuliaCI/julia-coverage#v1:
238-
# dirs:
239-
# - src
240-
# - lib
241-
# - examples
242-
# agents:
243-
# queue: "juliagpu"
244-
# cuda: "*"
245-
# env:
246-
# JULIA_CUDA_USE_COMPAT: 'false' # NVIDIA bug #3418723: injection tools prevent probing libcuda
247-
# commands: |
248-
# julia --project -e 'using CUDA; CUDA.set_runtime_version!(v"11.6")'
249-
# if: build.message !~ /\[skip tests\]/
250-
# timeout_in_minutes: 240
226+
- label: "Compute sanitizer"
227+
plugins:
228+
- JuliaCI/julia#v1:
229+
version: 1.8
230+
- JuliaCI/julia-test#v1:
231+
test_args: "--sanitize core"
232+
- JuliaCI/julia-coverage#v1:
233+
dirs:
234+
- src
235+
- lib
236+
- examples
237+
agents:
238+
queue: "juliagpu"
239+
cuda: "*"
240+
env:
241+
JULIA_CUDA_USE_COMPAT: 'false' # NVIDIA bug #3418723: injection tools prevent probing libcuda
242+
if: build.message !~ /\[skip tests\]/ &&
243+
build.message !~ /\[skip sanitizer\]/ &&
244+
!build.pull_request.draft
245+
timeout_in_minutes: 10
251246

252247
# we want to benchmark every commit on the master branch, even if it failed CI
253248
- wait: ~

test/Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2020
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2121
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2222
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
23-
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
File renamed without changes.
File renamed without changes.

test/examples.jl renamed to test/base/examples.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function find_sources(path::String, sources=String[])
99
sources
1010
end
1111

12-
examples_dir = joinpath(@__DIR__, "..", "examples")
12+
examples_dir = joinpath(@__DIR__, "..", "..", "examples")
1313
examples = find_sources(examples_dir)
1414
filter!(file -> readline(file) != "# EXCLUDE FROM TESTING", examples)
1515

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)