-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
37 lines (37 loc) · 1.22 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
name: CMake Action
description: Configure and build CMake projects
author: Alfi Maulana
branding:
color: gray-dark
icon: terminal
inputs:
source-dir:
description: The source directory of the CMake project
build-dir:
description: The build directory of the CMake project
generator:
description: The build system generator for the CMake project
c-compiler:
description: The preferred executable for compiling C language files
cxx-compiler:
description: The preferred executable for compiling C++ language files
c-flags:
description: Additional flags to pass when compiling C language files
cxx-flags:
description: Additional flags to pass when compiling C++ language files
options:
description: Additional options to pass during the CMake configuration
args:
description: Additional arguments to pass during the CMake configuration
run-build:
description: If enabled, builds the project using CMake
default: true
build-args:
description: Additional arguments to pass during the CMake build
outputs:
build-dir:
description: The build directory of the CMake project
value: ${{ steps.process-inputs.outputs.build-dir }}
runs:
using: node20
main: dist/action.mjs