-
Notifications
You must be signed in to change notification settings - Fork 32
48 lines (48 loc) · 1.06 KB
/
nccl-sharp-plugin.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: NCCL Sharp plugin CI
on:
workflow_dispatch:
inputs:
mainhost:
description: 'Choose one of hosts to run:'
required: true
type: choice
default: 'host01'
options:
- host01
- host02
push:
branches: ['*']
pull_request:
branches: ['*']
jobs:
deployment:
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v3
- name: Deployment infrastructure
run: /start deploy
build:
needs: [deployment]
runs-on: [self-hosted, linux, x64]
steps:
- name: Building NCCL RDMA sharp plugin
run: /start build
sharp_config:
needs: [deployment, build]
runs-on: [self-hosted, linux, x64]
steps:
- name: Configuring and checking Sharp
run: /start sharp
testing:
needs: [sharp_config]
runs-on: [self-hosted, linux, x64]
steps:
- name: Running tests
run: /start test
clean:
if: ${{ always() }}
needs: [testing]
runs-on: [self-hosted, linux, x64]
steps:
- name: Cleaning
run: /start clean