generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
119 lines (118 loc) · 3.27 KB
/
action.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
name: "Build/Get OneFlow"
description: ""
inputs:
action-type:
description: ""
required: false
default: "build-oneflow"
# OneFlow args
oneflow-build-env:
description: "environment to build OneFlow: conda, manylinux, llvm"
required: true
oneflow-src:
description: "path to OneFlow source code"
required: true
oneflow-build-key:
description: "the key to check if two builds are equivalent to each other, usually is hash value of non-test cpp and python files"
required: true
default: "none"
# TODO: make it optional, build-script can include a cmake-init-cache there is no reuse needed
# CMake args
cmake-init-cache:
description: "path to CMake initial cache file to build OneFlow"
required: true
# Cuda args
cuda-version:
description: "default is none, format: 10.2, 11.2"
required: false
compute-platform:
description: "default is none, format: cpu, cu112, cu102"
required: false
# Conda args
conda-env-file:
description: "can be a url or a path"
required: false
conda-env-name:
description: ""
required: false
conda-prefix:
description: "Miniconda prefix, if it fails to run 'conda --version', will install one there"
required: false
conda-installer-url:
description: "If conda not installed, use this url to download installer"
required: false
default: "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.10.3-Linux-x86_64.sh"
manylinux-cache-dir:
description: "path to store cache produced by manylinux build, cmake build dir, .ccache dir, python .local"
required: true
# Other args
force-rebuild:
description: "rebuild even package with same key found"
required: false
default: "false"
dry-run:
description: ""
required: false
default: "false"
self-hosted:
description: ""
required: false
default: "false"
python-versions:
description: ""
required: true
wheelhouse-dir:
description: "where to put the produced .whl files"
required: false
clear-wheelhouse-dir:
description: "clear wheelhouse-dir"
required: false
default: "false" # boolean identification
wheel-audit:
description: "clear wheelhouse-dir"
required: false
default: "true"
build-script:
description: "a bash script to build oneflow"
required: true
retry-failed-build:
description: "Retry a failed build oneflow or not"
required: false
default: "false"
clean-ccache:
description: ""
required: false
default: "false"
docker-run-use-system-http-proxy:
description: ""
required: false
default: "false"
docker-run-use-lld:
description: ""
required: false
default: "false"
parallel:
description: "make/ninja -j {parallel}, default will be $(nproc)"
required: false
nightly:
description: "is nightly build"
required: false
default: "false"
nightly-date:
description: "nightly date"
required: false
default: ""
run-lit:
description: "build ninja c1"
required: false
default: "false"
use-nvidia-wheels:
description: "use nvidia for wheels cudnn, cublas"
required: false
default: "true"
outputs:
pip-index-url:
description: "pip index url could be use to install oneflow"
runs:
using: "node20"
main: "dist/index.js"