Update CI build workflows

This commit is contained in:
David Allen 2023-01-14 09:08:37 -06:00
parent 072a118c9d
commit ff219bce93
2 changed files with 9 additions and 7 deletions

View file

@ -1,4 +1,4 @@
name: github-ci
name: CMake Linux Build
on:
workflow_dispatch:
@ -10,7 +10,6 @@ on:
permissions:
contents: read
# Needed for the 'trilom/file-changes-action' action
pull-requests: read
@ -21,6 +20,7 @@ concurrency:
jobs:
build:
runs-on: [self-hosted, linux]
steps:
- name: Checkout
uses: actions/checkout@v3
@ -32,12 +32,15 @@ jobs:
- name: Build
run:
echo -e "Building executable and libraries...\n$PWD"
bin/compile.sh
./bin/compile.sh
test:
runs-on: [self-hosted, linux]
- name: Tests
uses: actions/checkout@v3
run:
echo "Running unit tests..."
bin/gdpm-tests
./bin/gdpm-tests
- name: Package
run:

View file

@ -10,12 +10,11 @@ stages:
cache:
paths:
- tests
- build
before-script:
- echo "Setting up dependencies..."
- git clone $
build-job: