name: Build clio description: Build clio in build directory inputs: targets: description: Space-separated build target names default: all subtract_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: subtract_threads: ${{ inputs.subtract_threads }} - name: Build targets shell: bash run: | cd build cmake \ --build . \ --parallel "${{ steps.number_of_threads.outputs.threads_number }}" \ --target ${{ inputs.targets }}