mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 11:55:51 +00:00
25 lines
689 B
YAML
25 lines
689 B
YAML
name: Build clio
|
|
description: Build clio in build directory
|
|
inputs:
|
|
target:
|
|
description: Build target name
|
|
default: all
|
|
substract_threads:
|
|
description: An option for the action get_number_of_threads. See get_number_of_threads
|
|
required: true
|
|
default: '0'
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Get number of threads
|
|
uses: ./.github/actions/get_number_of_threads
|
|
id: number_of_threads
|
|
with:
|
|
substract_threads: ${{ inputs.substract_threads }}
|
|
|
|
- name: Build Clio
|
|
shell: bash
|
|
run: |
|
|
cd build
|
|
cmake --build . --parallel ${{ steps.number_of_threads.outputs.threads_number }} --target ${{ inputs.target }}
|