Fixed small issues and updated GitHub CI

-Make package manager functions return error
-Added Jenkensfile CI for testing purposes
-Updated the github CI for testing purposes
This commit is contained in:
David Allen 2023-01-13 14:07:14 -06:00
parent 5ffce72fa5
commit 072a118c9d
10 changed files with 107 additions and 32 deletions

View file

@ -1,11 +1,45 @@
name: github-ci
on: [push]
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
# Needed for the 'trilom/file-changes-action' action
pull-requests: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
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: Tests
run:
echo "Running unit tests..."
bin/gdpm-tests
- name: Package
run:
echo "Packaging binaries..."
steps:
- uses: actions/checkout@v1