Skip to content

Commit

Permalink
Try fixing buildkite (#1843)
Browse files Browse the repository at this point in the history
* Try fixing buildkite

* Update pipeline.yml

* Update pipeline.yml

* Update pipeline.yml
  • Loading branch information
wsmoses authored Sep 21, 2024
1 parent 0d6fe67 commit 29ed385
Showing 1 changed file with 33 additions and 34 deletions.
67 changes: 33 additions & 34 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ steps:
commands: |
echo "--- Setup Julia packages"
julia --color=yes -e '
import Pkg
Pkg.develop(; path = pwd())
Pkg.develop(; path = joinpath(pwd(), "lib", "EnzymeCore"))
Pkg.develop(; name = "CUDA")' || exit 3
using Pkg
pkgs = [PackageSpec(; path) for path in (".", "lib/EnzymeCore", "lib/EnzymeTestUtils")]
push!(pkgs, PackageSpec(; name="CUDA"))
Pkg.develop(pkgs)' || exit 3
echo "+++ Run tests"
julia --color=yes test/cuda.jl
Expand All @@ -41,40 +41,39 @@ steps:
commands: |
echo "--- Setup Julia packages"
julia --color=yes -e '
import Pkg
Pkg.develop(; path = pwd())
Pkg.develop(; path = joinpath(pwd(), "lib", "EnzymeCore"))
Pkg.develop(; name = "AMDGPU")' || exit 3
using Pkg
pkgs = [PackageSpec(; path) for path in (".", "lib/EnzymeCore", "lib/EnzymeTestUtils")]
push!(pkgs, PackageSpec(; name="AMDGPU"))
Pkg.develop(pkgs)' || exit 3
echo "+++ Run tests"
julia --color=yes test/amdgpu.jl
env:
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager

# - label: "Metal Julia v{{matrix.version}}"
# matrix:
# setup:
# version:
# - "1.8"
# - "1.9"
# plugins:
# - JuliaCI/julia#v1:
# version: "{{matrix.version}}"
# agents:
# queue: "juliaecosystem"
# os: "macos"
# arch: "aarch64"
# if: build.message !~ /\[skip tests\]/
# timeout_in_minutes: 60
# commands: |
# echo "--- Setup Julia packages"
# julia --color=yes -e '
# import Pkg
# Pkg.develop(; path = pwd())
# Pkg.develop(; path = joinpath(pwd(), "lib", "EnzymeCore"))
# Pkg.develop(; name = "Metal")' || exit 3
- label: "Metal Julia v{{matrix.version}}"
matrix:
setup:
version:
- "1.10"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
agents:
queue: "juliaecosystem"
os: "macos"
arch: "aarch64"
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 60
commands: |
echo "--- Setup Julia packages"
julia --color=yes -e '
using Pkg
pkgs = [PackageSpec(; path) for path in (".", "lib/EnzymeCore", "lib/EnzymeTestUtils")]
push!(pkgs, PackageSpec(; name="Metal"))
Pkg.develop(pkgs)' || exit 3
# echo "+++ Run tests"
# julia --color=yes test/metal.jl
# env:
# JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
echo "+++ Run tests"
julia --color=yes test/metal.jl
env:
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager

0 comments on commit 29ed385

Please sign in to comment.