From 074c9cd5fce3478ebd8cb6eea3892b2c5a947987 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Fri, 6 Jan 2023 13:59:57 +0700 Subject: [PATCH] add `action.yml` that will configure and build CMake project --- action.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..28a082d --- /dev/null +++ b/action.yml @@ -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