Skip to content

Commit ff68447

Browse files
Merge pull request #197 from ChrisRackauckas-Claude/replace-buildkite-with-gha
Replace Buildkite CI with GitHub Actions self-hosted runners
2 parents 6b15514 + 4f30f5b commit ff68447

File tree

2 files changed

+65
-52
lines changed

2 files changed

+65
-52
lines changed

.buildkite/pipeline.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/GPU.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: "GPU Tests"
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- 'docs/**'
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- 'docs/**'
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
18+
19+
jobs:
20+
cuda-tests:
21+
name: "CUDA GPU Tests"
22+
runs-on: [self-hosted, Linux, X64, gpu]
23+
timeout-minutes: 240
24+
steps:
25+
- uses: actions/checkout@v6
26+
- uses: julia-actions/setup-julia@v2
27+
with:
28+
version: "1"
29+
- uses: julia-actions/julia-buildpkg@v1
30+
- uses: julia-actions/julia-runtest@v1
31+
env:
32+
BACKEND_GROUP: "CUDA"
33+
- uses: julia-actions/julia-processcoverage@v1
34+
- uses: codecov/codecov-action@v5
35+
with:
36+
files: lcov.info
37+
token: ${{ secrets.CODECOV_TOKEN }}
38+
fail_ci_if_error: false
39+
40+
gpu-docs:
41+
name: "Documentation"
42+
runs-on: [self-hosted, Linux, X64, gpu]
43+
timeout-minutes: 240
44+
if: github.event_name == 'push' || !github.event.pull_request.draft
45+
steps:
46+
- uses: actions/checkout@v6
47+
- uses: julia-actions/setup-julia@v2
48+
with:
49+
version: "1"
50+
- run: |
51+
julia --project --color=yes --threads=3 -e '
52+
println("--- Instantiating project")
53+
using Pkg
54+
Pkg.instantiate()
55+
Pkg.activate("docs")
56+
Pkg.develop(PackageSpec(path=pwd()))
57+
Pkg.instantiate()
58+
println("+++ Building documentation")
59+
include("docs/make.jl")'
60+
env:
61+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
63+
DATADEPS_ALWAYS_ACCEPT: true
64+
JULIA_DEBUG: "Documenter"
65+
GKSwstype: "100"

0 commit comments

Comments
 (0)