mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 11:37:00 -07:00
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:
parent
5ffce72fa5
commit
072a118c9d
10 changed files with 107 additions and 32 deletions
42
.github/workflows/build.yml
vendored
42
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue