constellation/.github/actions/build_cdbg/action.yml

25 lines
590 B
YAML

name: Build cdbg
description: Build the Constellation cdbg binary
inputs:
targetOS:
description: "Build CLI for this OS. [linux, darwin]"
required: true
default: "linux"
targetArch:
description: "Build CLI for this architecture. [amd64, arm64]"
required: true
default: "amd64"
runs:
using: "composite"
steps:
- name: Build cdbg
shell: bash
run: |
echo "::group::Build cdbg"
mkdir -p build && cd build
cmake ..
GOOS=${{ inputs.targetOS }} GOARCH=${{ inputs.targetArch }} make cdbg
echo "::endgroup::"