Skip to content

Commit 7442dfa

Browse files
Merge pull request #126 from ChrisRackauckas-Claude/replace-buildkite-with-gha
Replace Buildkite CI with GitHub Actions self-hosted runners
2 parents 5040563 + 40c4576 commit 7442dfa

File tree

2 files changed

+61
-36
lines changed

2 files changed

+61
-36
lines changed

.buildkite/pipeline.yml

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

.github/workflows/GPU.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+
gpu-tests:
21+
name: "GPU Tests"
22+
runs-on: [self-hosted, Linux, X64, gpu-t4]
23+
timeout-minutes: 60
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+
GROUP: "GPU"
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, gpu-v100]
43+
timeout-minutes: 360
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=docs -e '
52+
println("--- Instantiating project")
53+
using Pkg
54+
Pkg.develop(PackageSpec(path=pwd()))
55+
Pkg.instantiate()
56+
println("+++ Building documentation")
57+
include("docs/make.jl")'
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
61+
DATADEPS_ALWAYS_ACCEPT: true

0 commit comments

Comments
 (0)