-
Notifications
You must be signed in to change notification settings - Fork 6
36 lines (33 loc) · 1006 Bytes
/
ci_test.yml
File metadata and controls
36 lines (33 loc) · 1006 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
33
34
35
36
name: CI
concurrency:
group: ci-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
on:
workflow_dispatch:
inputs:
platform:
description: "Platform to run"
type: choice
required: true
default: nvidia
options:
- nvidia
- iluvatar
- metax
- moore
- cambricon
- ascend
- all
push:
branches: ["master"]
pull_request:
branches: ["master", "ci/ci-online"]
jobs:
ci:
uses: InfiniTensor/ci/.github/workflows/infiniops-ci.yml@0608bc757277ed02508385d7dda9bb89134505d6
with:
config_path: .github/ci_config.yml
ci_ref: 0608bc757277ed02508385d7dda9bb89134505d6
max_parallel: 10
platform: ${{ github.event_name == 'workflow_dispatch' && (inputs.platform == 'all' && 'nvidia,iluvatar,metax,moore,cambricon,ascend' || inputs.platform) || 'nvidia,iluvatar,metax,moore,cambricon,ascend' }}
secrets: inherit