Skip to content

cicd: Add github actions script for test builds #1

cicd: Add github actions script for test builds

cicd: Add github actions script for test builds #1

Workflow file for this run

name: Check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "main", "stable-0.10" ]
jobs:
build-ubuntu-focal:
runs-on: ubuntu-20.04:

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
env:
CONFIG: "--with-openssl --prefix=/usr --with-tpm2"
TARGET: "distcheck"
NPROC: "nproc"
CFLAGS: "-O3"
steps:
- uses: actions/checkout@v4
- name: Build
run: |
./autogen.sh ${CONFIG}
make -j$(${NPROC}) ${TARGET}
if [ $? -ne 0 ]; then
for f in tests/*.log; do echo ">>>>>>> $f <<<<<<<"; tail -n 50 $f; done
fi