This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
120 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
steps: | ||
# Downstream CUDA Tests | ||
- group: ":telescope: Downstream CUDA" | ||
steps: | ||
- label: ":julia: {{matrix.repo}} (Julia {{matrix.julia}} + CUDA GPU)" | ||
plugins: | ||
- JuliaCI/julia#v1: | ||
version: "{{matrix.julia}}" | ||
- JuliaCI/julia-coverage#v1: | ||
codecov: true | ||
dirs: | ||
- src | ||
command: | | ||
julia --project -e ' | ||
using Pkg | ||
repo = ENV["DOWNSTREAM_TEST_REPO"] | ||
println("--- :julia: Instantiating project") | ||
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do | ||
Pkg.instantiate() | ||
try | ||
Pkg.develop(repo) | ||
Pkg.update() | ||
println("+++ :julia: Running tests") | ||
Pkg.test("$(repo)"; coverage=true) # resolver may fail with test time deps | ||
catch err | ||
err isa Pkg.Resolve.ResolverError || rethrow() | ||
# If we can't resolve that means this is incompatible by SemVer and this is fine | ||
# It means we marked this as a breaking change, so we don't need to worry about | ||
# Mistakenly introducing a breaking change, as we have intentionally made one | ||
@info "Not compatible with this release. No problem." exception=err | ||
exit(0) # Exit immediately, as a success | ||
end | ||
end | ||
' | ||
agents: | ||
queue: "juliagpu" | ||
cuda: "*" | ||
env: | ||
GROUP: "CUDA" | ||
DOWNSTREAM_TEST_REPO: "{{matrix.repo}}" | ||
if: build.message !~ /\[skip tests\]/ || build.message !~ /\[skip downstream\]/ | ||
timeout_in_minutes: 240 | ||
matrix: | ||
setup: | ||
julia: | ||
- "1.6" | ||
- "1" | ||
repo: | ||
- "Lux" | ||
- "Boltz" | ||
adjustments: | ||
- with: | ||
julia: "1.6" | ||
soft_fail: true | ||
|
||
# Downstream AMDGPU Tests | ||
- group: ":telescope: Downstream AMD GPU" | ||
steps: | ||
- label: ":julia: {{matrix.repo}} (Julia {{matrix.julia}} + AMD GPU)" | ||
plugins: | ||
- JuliaCI/julia#v1: | ||
version: "{{matrix.julia}}" | ||
- JuliaCI/julia-coverage#v1: | ||
codecov: true | ||
dirs: | ||
- src | ||
command: | | ||
julia --project -e ' | ||
using Pkg | ||
repo = ENV["DOWNSTREAM_TEST_REPO"] | ||
println("--- :julia: Instantiating project") | ||
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do | ||
Pkg.instantiate() | ||
try | ||
Pkg.develop(repo) | ||
Pkg.update() | ||
println("+++ :julia: Running tests") | ||
Pkg.test("$(repo)"; coverage=true) # resolver may fail with test time deps | ||
catch err | ||
err isa Pkg.Resolve.ResolverError || rethrow() | ||
# If we can't resolve that means this is incompatible by SemVer and this is fine | ||
# It means we marked this as a breaking change, so we don't need to worry about | ||
# Mistakenly introducing a breaking change, as we have intentionally made one | ||
@info "Not compatible with this release. No problem." exception=err | ||
exit(0) # Exit immediately, as a success | ||
end | ||
end | ||
' | ||
agents: | ||
queue: "juliagpu" | ||
rocm: "*" | ||
rocmgpu: "*" | ||
env: | ||
GROUP: "AMDGPU" | ||
JULIA_AMDGPU_CORE_MUST_LOAD: "1" | ||
JULIA_AMDGPU_HIP_MUST_LOAD: "1" | ||
JULIA_AMDGPU_DISABLE_ARTIFACTS: "1" | ||
DOWNSTREAM_TEST_REPO: "{{matrix.repo}}" | ||
if: build.message !~ /\[skip tests\]/ || build.message !~ /\[skip downstream\]/ | ||
timeout_in_minutes: 240 | ||
matrix: | ||
setup: | ||
julia: | ||
- "1" | ||
repo: | ||
- "Lux" | ||
- "Boltz" | ||
|
||
env: | ||
SECRET_CODECOV_TOKEN: "DpNKbuKYRX40vpyJCfTvQmxwls1hlCUWiZX4pnsukt9E8u4pf0WUcIroRv2UDDbGYjuk5izmZ9yAhZZhiGMhjFF/TIji3JiYe1sXWdfSrNk0N2+CNoXo+CIi3JvS7mB+YAIUTEi2Xph+L7R0d+It079PEispqVv4bdRuqgSbY7Rn3NSsoV1cB8uUaVFBJH4EewC6Hceg80QW7q+CBru+QECudKbAWnRVLoizRsgzIld+gTUqsI1PhR+vSpD+AfZzhVxmff55ttVcMUFGnL3w4L74qoLVPET52/GPLCOi3RLGSzBJjebSBqqKOwesT9xJ4yaZ21AEzyeOm86YRc2WYg==;U2FsdGVkX1/eBwyJ7Of++vKyAWDSBvSdJeiKmVmlaVKFU5CHejM+sDlSZWH/WmoBatLcqH+eUVEGXC+oWl5riw==" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.