constellation/.github/actions/build_disk_mapper/action.yml
2022-09-19 01:09:56 -07:00

23 lines
540 B
YAML

name: Build disk-mapper
description: Build the Constellation disk-mapper binary
inputs:
outputPath:
description: "Output path of the binary"
default: "./disk-mapper"
required: true
# Linux runner only (Docker required)
runs:
using: "composite"
steps:
- name: Build the disk-mapper
shell: bash
run: |
echo "::group::Build the disk-mapper"
mkdir -p build && cd build
cmake ..
make disk-mapper
mv -n disk-mapper "${{ inputs.outputPath }}"
echo "::endgroup::"