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

25 lines
590 B
YAML
Raw Normal View History

2022-09-14 11:41:47 -04:00
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"
2022-09-14 11:41:47 -04:00
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
2022-09-14 11:41:47 -04:00
echo "::endgroup::"