mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
b841403f15
e2e test implementation with GitHub actions on GCP
26 lines
552 B
YAML
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
|