mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
- Changed the remote API - Added `export` and changed `remote` commands - Update README.md file - Removed dependence on `zig c++` in `bin/build.sh` script - Added error codes to use in place of ints - Other minor changes
45 lines
793 B
YAML
45 lines
793 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 and libraries...\n$PWD"
|
|
./bin/compile.sh
|
|
|
|
- name: Test
|
|
run:
|
|
echo "Running unit tests..."
|
|
./bin/gdpm-tests
|
|
|
|
- name: Package
|
|
run:
|
|
echo "Packaging binaries..."
|
|
|