gdpm/ci/github/workflows/build.yml
David J. Allen e48c54aa40 Refactored, simplified, and removed code; replaced cli header lib
- Reinitialized submodules
- Slightly restructed project
- Added more options to `compile.sh` script
- Added more utility functions
2023-06-10 19:22:21 -06:00

45 lines
847 B
YAML

name: CMake Linux Build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
runs-on: [self-hosted, linux]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
run:
echo "Setting up dependencies..."
- name: Build
run:
echo -e "Building executable, libraries, documentation, and symlinks...\n$PWD"
./bin/compile.sh --all --docs --link --strip
- name: Test
run:
echo "Running unit tests..."
./bin/gdpm-tests
- name: Package
run:
echo "Packaging binaries..."