mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
refactor: rename action.yaml metadata file to action.yml (#254)
This commit is contained in:
42
action.yml
Normal file
42
action.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
name: CMake Action
|
||||
description: Configure, build, and test your CMake project
|
||||
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, it builds the project using CMake (true/false)
|
||||
default: false
|
||||
build-args:
|
||||
description: Additional arguments to pass during the CMake build
|
||||
run-test:
|
||||
description: If enabled, it runs testing using CTest (true/false)
|
||||
default: false
|
||||
test-args:
|
||||
description: Additional arguments to pass during the CTest run
|
||||
outputs:
|
||||
build-dir:
|
||||
description: The build directory of the CMake project
|
||||
value: ${{ steps.process-inputs.outputs.build-dir }}
|
||||
runs:
|
||||
using: node20
|
||||
main: dist/index.js
|
||||
Reference in New Issue
Block a user