-
Notifications
You must be signed in to change notification settings - Fork 8
32 lines (29 loc) · 840 Bytes
/
CI.yml
File metadata and controls
32 lines (29 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
test-cpu-github:
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'run ci cpu') }}
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
with:
versions: '["1.12"]'
runs_on: '["ubuntu-latest", "macos-latest"]'
runner_type: 'github'
use_ct_registry: false
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}
# Job pour le runner self-hosted kkt (GPU/CUDA)
test-gpu-kkt:
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'run ci gpu') }}
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
with:
versions: '["1"]'
runs_on: '[["kkt"]]'
runner_type: 'self-hosted'
use_ct_registry: false
secrets:
SSH_KEY: ${{ secrets.SSH_KEY }}