Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try fixing buildkite #1843

Merged
merged 4 commits into from
Sep 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading