mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-12 09:24:24 -05:00
25 lines
590 B
YAML
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::"
|