add action.yml that will configure and build CMake project

This commit is contained in:
Alfi Maulana 2023-01-06 13:59:57 +07:00
parent ae2f4c9cde
commit 074c9cd5fc
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

16
action.yml Normal file
View File

@ -0,0 +1,16 @@
name: CMake Action
description: Configure and build CMake project
author: Alfi Maulana
branding:
color: gray-dark
icon: terminal
runs:
using: composite
steps:
- name: Configure CMake
shell: bash
run: cmake . -B build
- name: Build targets
shell: bash
run: cmake --build build