2022-09-14 11:41:47 -04:00
|
|
|
name: Build cdbg
|
|
|
|
description: Build the Constellation cdbg binary
|
|
|
|
|
2022-09-15 08:29:35 -04:00
|
|
|
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 ..
|
2022-09-15 08:29:35 -04:00
|
|
|
GOOS=${{ inputs.targetOS }} GOARCH=${{ inputs.targetArch }} make cdbg
|
2022-09-14 11:41:47 -04:00
|
|
|
echo "::endgroup::"
|