Skip to content

Workflow update

Workflow update #1

Workflow file for this run

name: Compile on amd64
on:
workflow_call:
inputs:
connect-type:
required: true
type: string
debug-flag:
required: false
type: boolean
workflow_dispatch:
inputs:
connect-type:
required: true
type: string
default: "FULLSPEC"
debug-flag:
required: true
type: boolean
default: false
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: cpp
env:

Check failure on line 29 in .github/workflows/compile.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/compile.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
PACKAGES: "libspdlog-dev libpcap-dev libprotobuf-dev libgmock-dev protobuf-compiler""
steps:
- uses: actions/checkout@v3
- name: Install additional packages
run: sudo apt install ${{ env.TOOLCHAIN }} ${{ env.PACKAGES }}
- name: Build debug strings
if: ${{ inputs.debug-flag }}
run: |
echo "debug_flag_compile=DEBUG\=1" >> $GITHUB_ENV
- name: Compile
run: make all -j $(nproc) CONNECT_TYPE=${{ inputs.connect-type }} ${{ env.debug_flag_compile }}