generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
60 lines (58 loc) · 1.67 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
name: 'Build CMake'
description: 'Configure, Build and Test a CMake project'
author: 'Ashutosh Varma'
inputs:
source-dir:
description: Source root directory where top level CMake script is present
default: ${{ github.workspace }}
build-dir:
description: Build directory where build files will be generated
default: "${{ github.workspace }}/../build"
required: true
build-type:
description: 'CMake build type (Release, Debug, MinSizeRel, RelWithDebInfo)'
default: 'Release'
required: true
cc:
description: 'C Compiler for toolchain'
required: false
cxx:
description: 'C++ Compiler for toolchain'
required: false
target:
description: CMake build target
required: false
parallel:
description: Number of concurrent jobs for build and test
default: '4'
required: false
run-test:
description: Run CTest or not
default: 'false'
required: false
install-build:
description: Run 'cmake --install' or not
default: 'false'
required: false
submodule-update:
description: Update git submodules
default: 'false'
required: false
configure-options:
description: Misc Options to pass to CMake while configuring project
required: false
build-options:
description: Misc Options to pass to CMake while building project using cmake --build
required: false
install-options:
description: Misc Options to pass to CMake while installing project using cmake --install
required: false
ctest-options:
description: Misc Options to pass to CTest
required: false
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'feather'
color: 'blue'