constellation/.github/actions/build_cli/action.yml
Fabian Kammel b841403f15 e2e test github action implementation. (#100)
e2e test implementation with GitHub actions on GCP
2022-05-03 11:15:53 +02:00

26 lines
552 B
YAML

name: build
description: "Runs cmake & default make target in build folder."
runs:
using: 'composite'
steps:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install \
build-essential cmake \
-y
shell: bash
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.18.1'
- name: Build CLI
run: |
mkdir build
cd build
cmake ..
make -j`nproc` cli
echo "$(pwd)" >> $GITHUB_PATH
export PATH="$PATH:$(pwd)"
shell: bash