|
19 | 19 | cuda: "*" |
20 | 20 | commands: | |
21 | 21 | echo -e "[CUDA_Runtime_jll]\nlocal = \"true\"" >LocalPreferences.toml |
22 | | - if: build.message !~ /\[skip tests\]/ |
| 22 | + if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip julia\]/ |
23 | 23 | timeout_in_minutes: 60 |
24 | 24 | matrix: |
25 | 25 | setup: |
|
52 | 52 | agents: |
53 | 53 | queue: "juliagpu" |
54 | 54 | cuda: "*" |
55 | | - if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft |
| 55 | + if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip cuda\]/ && !build.pull_request.draft |
56 | 56 | timeout_in_minutes: 30 |
57 | 57 | matrix: |
58 | 58 | setup: |
|
88 | 88 | agents: |
89 | 89 | queue: "juliagpu" |
90 | 90 | cuda: "*" |
91 | | - if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft |
| 91 | + if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip memory\]/ && !build.pull_request.draft |
92 | 92 | timeout_in_minutes: 30 |
93 | 93 | matrix: |
94 | 94 | setup: |
@@ -123,23 +123,23 @@ steps: |
123 | 123 | agents: |
124 | 124 | queue: "juliagpu" |
125 | 125 | cuda: "*" |
126 | | - if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft |
| 126 | + if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip subpackages\]/ && !build.pull_request.draft |
127 | 127 | timeout_in_minutes: 15 |
128 | 128 | commands: | |
129 | | - julia --project -e ' |
| 129 | + julia -e ' |
130 | 130 | using Pkg |
131 | 131 |
|
132 | 132 | println("--- :julia: Instantiating project") |
133 | 133 | withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do |
| 134 | + Pkg.activate(joinpath(pwd(), "lib", lowercase("{{matrix.package}}"))) |
134 | 135 | Pkg.instantiate() |
135 | 136 |
|
136 | | - Pkg.develop(path=joinpath(pwd(), "lib", lowercase("{{matrix.package}}"))) |
137 | | -
|
| 137 | + Pkg.add("CUDA_Runtime_jll") |
138 | 138 | write("LocalPreferences.toml", "[CUDA_Runtime_jll]\nversion = \"{{matrix.cuda}}\"") |
139 | 139 | end |
140 | 140 |
|
141 | 141 | println("+++ :julia: Running tests") |
142 | | - Pkg.test("{{matrix.package}}"; coverage=true)' |
| 142 | + Pkg.test(; coverage=true)' |
143 | 143 |
|
144 | 144 | - group: ":telescope: Downstream" |
145 | 145 | depends_on: "cuda" |
@@ -177,7 +177,7 @@ steps: |
177 | 177 | agents: |
178 | 178 | queue: "juliagpu" |
179 | 179 | cuda: "*" |
180 | | - if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft |
| 180 | + if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip downstream\]/ && !build.pull_request.draft |
181 | 181 | timeout_in_minutes: 30 |
182 | 182 | soft_fail: |
183 | 183 | - exit_status: 3 |
@@ -209,7 +209,7 @@ steps: |
209 | 209 | agents: |
210 | 210 | queue: "juliagpu" |
211 | 211 | intel: "*" |
212 | | - if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft |
| 212 | + if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip special\]/ && !build.pull_request.draft |
213 | 213 | timeout_in_minutes: 5 |
214 | 214 |
|
215 | 215 | - label: "Documentation" |
@@ -250,7 +250,7 @@ steps: |
250 | 250 | cuda: "*" |
251 | 251 | env: |
252 | 252 | JULIA_CUDA_USE_COMPAT: 'false' # NVIDIA bug #3418723: injection tools prevent probing libcuda |
253 | | - if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft |
| 253 | + if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip sanitizer\]/ && !build.pull_request.draft |
254 | 254 | timeout_in_minutes: 30 |
255 | 255 |
|
256 | 256 | # we want to benchmark every commit on the master branch, even if it failed CI |
|
0 commit comments