Skip to content
Merged
Show file tree
Hide file tree
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
41 changes: 34 additions & 7 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ steps:
- label: "CUDA.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
version: "1.11"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
Expand All @@ -25,7 +25,7 @@ steps:
- label: "oneAPI.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
version: "1.11"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
Expand All @@ -52,7 +52,7 @@ steps:
- label: "Metal.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
version: "1.11"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
Expand All @@ -76,7 +76,7 @@ steps:
- label: "AMDGPU.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
version: "1.11"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
Expand All @@ -96,12 +96,38 @@ steps:
soft_fail:
- exit_status: 3

- label: "Enzyme.jl"
- label: "OpenCL.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop(; path=pwd())
Pkg.develop(; name="OpenCL")
Pkg.develop(; name="SPIRVIntrinsics")' || exit 3

julia -e 'println("+++ :julia: Running tests")
using Pkg
Pkg.test("OpenCL"; coverage=true)'
agents:
# XXX: not on "juliaecosystem" because those workers don't have libc-dev
# see JuliaGPU/OpenCL.jl#303
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 120
soft_fail:
- exit_status: 3

- label: "Enzyme.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.11"
- JuliaCI/julia-coverage#v1:
codecov: true
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -112,12 +138,13 @@ steps:
using Pkg
Pkg.test("Enzyme"; coverage=true, julia_args=`--depwarn=no`)'
agents:
queue: "juliagpu"
queue: "juliaecosystem"
os: "linux"
arch: "x86_64"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 60
soft_fail:
- exit_status: 3

env:
JULIA_PKG_SERVER: "" # it often struggles with our large artifacts
SECRET_CODECOV_TOKEN: "ya+qhtTvHdnO/U1KSoTcdCRB4WCCFU7Or2wt7YlzSZJWqITbLxidDfvqxTMG0mPo6M9I2XW6GULCleA9okq06reF5//14WSmxiF8qPwBONj6m+ImdkLpju2FfLCAtISFJYRM5OJRdDuQ5hKz+FyNoDG/jWBm/vrHoXzrVOHpcHGOPvrEtSwkdo8ew0prFq5RTi6c0Pe+Vj+xRMH7o8QhIPisYUd4RWsA/BL3ukxqSSzpU1+ZJ4F5v6eZILSaKSPb04FzpotkbH+UUCvJSn28Cif+JQANJ9HDLgaa1BbSlOAcu7syktS2fJOyOTfE67er9Lu8utqz6973Evnqjfbclw==;U2FsdGVkX19sIzsESyU7ZuRndlTrQy67iOsrPzevxn+W/dWZBd3ds5Soh1ig5ivoUi4tLZrqUv/ZyPIHohVy0A=="
30 changes: 15 additions & 15 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ['1.10', '1.11', '1.12-nightly', 'nightly']
version: ['1.10', '1.11', '1.12-nightly'] # nightly
os: [ubuntu-latest, macOS-latest, windows-latest]
arch: [x64]
llvm_args: ['']
Expand Down Expand Up @@ -52,24 +52,24 @@ jobs:
steps:
- uses: actions/checkout@v4

# install Julia
- uses: julia-actions/setup-julia@v2
- name: Install Julia
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}

# set-up packages
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- name: Set-up cache
uses: julia-actions/cache@v2

- name: Run tests
uses: julia-actions/julia-runtest@v1
env:
JULIA_LLVM_ARGS: ${{ matrix.llvm_args }}

# post-process
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
- name: Process coverage
uses: julia-actions/julia-processcoverage@v1
- name: Submit coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
Expand Down Expand Up @@ -109,18 +109,18 @@ jobs:
rm julia.tar.gz
echo $PWD/../julia-*/bin >> $GITHUB_PATH

# set-up packages
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- name: Set-up cache
uses: julia-actions/cache@v2

- name: Run tests
uses: julia-actions/julia-runtest@v1
env:
JULIA_LLVM_ARGS: ${{ matrix.llvm_args }}

# post-process
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
- name: Process coverage
uses: julia-actions/julia-processcoverage@v1
- name: Submit coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
Expand Down
Loading