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
36 changes: 33 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,43 @@ jobs:
test-gpu-occidata:
# See the comment on test-cpu-github above.
if: >
github.event_name != 'pull_request' ||
(github.event.action == 'labeled' && github.event.label.name == 'run ci occidata-runner') ||
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'run ci occidata-runner'))
github.event_name == 'pull_request' &&
((github.event.action == 'labeled' && github.event.label.name == 'run ci occidata-runner') ||
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'run ci occidata-runner')))
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
with:
runs_on: '[["occidata"]]'
runner_type: 'self-hosted'
use_ct_registry: true
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}

# Job for the self-hosted kkt runner (GPU/CUDA), on its label only (a pull request can
# always ask for either GPU runner; a push picks one, see test-gpu-main).
test-gpu-kkt:
# See the comment on test-cpu-github above.
if: >
github.event_name == 'pull_request' &&
((github.event.action == 'labeled' && github.event.label.name == 'run ci kkt-runner') ||
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'run ci kkt-runner')))
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
with:
versions: '["1.10","1.13"]'
runs_on: '[["kkt"]]'
runner_type: 'self-hosted'
use_ct_registry: true
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}

# On a push (main, tags): a single GPU run, on kkt unless it is offline, else occidata
# (CTActions ci-gpu.yml). A busy kkt is waited for.
test-gpu-main:
if: github.event_name != 'pull_request'
uses: control-toolbox/CTActions/.github/workflows/ci-gpu.yml@main
with:
versions: '["1.10","1.13"]'
use_ct_registry: true
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}
CT_RUNNERS_CLIENT_ID: ${{ secrets.CT_RUNNERS_CLIENT_ID }}
CT_RUNNERS_PRIVATE_KEY: ${{ secrets.CT_RUNNERS_PRIVATE_KEY }}
5 changes: 4 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ jobs:
# real GPU on occidata, a `:gpu` solve in 205s, full docs build 2265s, push via
# GITHUB_TOKEN/HTTPS confirmed). `build-gpu`'s own `if` already restricts it to
# push/tag — inert on PR-preview builds regardless of what's passed here.
gpu_runner: '["occidata"]'
# `auto`: kkt unless it is offline, else occidata (CTActions select-gpu-runner.yml).
gpu_runner: 'auto'
# Measured cold build on occidata: 2265s (~38 min). occidata is a single shared
# box — other repos' CI (e.g. CTDirect's test-gpu-occidata job) can queue ahead
# of this one, and Monday mornings add the occidata-runner-maintenance.yml cache
Expand All @@ -57,3 +58,5 @@ jobs:
gpu_timeout_minutes: 180
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}
CT_RUNNERS_CLIENT_ID: ${{ secrets.CT_RUNNERS_CLIENT_ID }}
CT_RUNNERS_PRIVATE_KEY: ${{ secrets.CT_RUNNERS_PRIVATE_KEY }}
Loading