aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/actions/build-example/action.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-03 22:45:23 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-04 00:11:46 +0200
commitdc5d951b73c9118511e33b8b07f2e94c41a379e7 (patch)
treea83b80c4e486a980b6c5065b43fadf32bcc1523e /.github/actions/build-example/action.yml
parentcommon.cmake: fix a typo (diff)
downloadcmake-common-dc5d951b73c9118511e33b8b07f2e94c41a379e7.tar.gz
cmake-common-dc5d951b73c9118511e33b8b07f2e94c41a379e7.zip
common.cmake: bump default C++ standard
Diffstat (limited to '.github/actions/build-example/action.yml')
-rw-r--r--.github/actions/build-example/action.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/actions/build-example/action.yml b/.github/actions/build-example/action.yml
index 63dd6b0..8d684c1 100644
--- a/.github/actions/build-example/action.yml
+++ b/.github/actions/build-example/action.yml
@@ -19,6 +19,9 @@ inputs:
description: Configuration to build
required: false
default: Debug
+ cmake-args:
+ description: Additional CMake arguments
+ required: false
outputs:
install-dir:
description: Installation directory
@@ -65,5 +68,5 @@ runs:
$args += '--',$src_dir,'TMP'
$env:VERBOSE = 1
- & $python -m project.build $args
+ & $python -m project.build $args ${{ inputs.cmake-args }}
shell: pwsh