mirror of
https://github.com/CLIUtils/CLI11.git
synced 2026-01-19 04:52:08 +00:00
3.15 is a good minimum these days, and what pybind11, etc. now use. (Edit: we are using some really old docker containers, so let's do 3.14+ for now). --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
26 lines
627 B
YAML
26 lines
627 B
YAML
name: Quick CMake config
|
|
description: "Runs CMake 3.14+ (if already setup)"
|
|
inputs:
|
|
args:
|
|
description: "Other arguments"
|
|
required: false
|
|
default: ""
|
|
cmake-version:
|
|
description: "The CMake version to run"
|
|
required: true
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: CMake ${{ inputs.cmake-version }}
|
|
uses: jwlawson/actions-setup-cmake@v2.0.2
|
|
with:
|
|
cmake-version: "${{ inputs.cmake-version }}"
|
|
- run: |
|
|
mkdir -p build-tmp
|
|
touch build-tmp/tmp
|
|
rm -r build-tmp/*
|
|
(cd build-tmp && cmake .. ${{ inputs.args }})
|
|
rm -r build-tmp
|
|
shell: bash
|