mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Update CI build workflows
This commit is contained in:
parent
072a118c9d
commit
ff219bce93
2 changed files with 9 additions and 7 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: github-ci
|
name: CMake Linux Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
@ -10,7 +10,6 @@ on:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
# Needed for the 'trilom/file-changes-action' action
|
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -21,6 +20,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
runs-on: [self-hosted, linux]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
@ -32,12 +32,15 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run:
|
run:
|
||||||
echo -e "Building executable and libraries...\n$PWD"
|
echo -e "Building executable and libraries...\n$PWD"
|
||||||
bin/compile.sh
|
./bin/compile.sh
|
||||||
|
|
||||||
|
test:
|
||||||
|
runs-on: [self-hosted, linux]
|
||||||
- name: Tests
|
- name: Tests
|
||||||
|
uses: actions/checkout@v3
|
||||||
run:
|
run:
|
||||||
echo "Running unit tests..."
|
echo "Running unit tests..."
|
||||||
bin/gdpm-tests
|
./bin/gdpm-tests
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
run:
|
run:
|
||||||
|
|
|
||||||
|
|
@ -10,12 +10,11 @@ stages:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- tests
|
- build
|
||||||
|
|
||||||
|
|
||||||
before-script:
|
before-script:
|
||||||
- echo "Setting up dependencies..."
|
- echo "Setting up dependencies..."
|
||||||
- git clone $
|
|
||||||
|
|
||||||
|
|
||||||
build-job:
|
build-job:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue