blue
75010c0bc6
Some checks failed
Main LMDBAL workfow / Test LMDBAL with qt6 (push) Successful in 1m5s
Main LMDBAL workfow / Test LMDBAL with qt5 (push) Successful in 52s
Main LMDBAL workfow / Release documentation (push) Successful in 22s
LMDBAL Release workflow / Release qt6 build to AUR (release) Failing after 4s
LMDBAL Release workflow / Release qt5 build to AUR (release) Failing after 3s
37 lines
829 B
YAML
37 lines
829 B
YAML
name: Build and run unit tests for LMDBAL
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
flags:
|
|
required: true
|
|
type: string
|
|
workflow_dispatch:
|
|
inputs:
|
|
flags:
|
|
description: "Flags for CMake configure stage"
|
|
type: string
|
|
default: "lmdbal"
|
|
|
|
jobs:
|
|
test:
|
|
name: Building and rinning unit tests
|
|
runs-on: archlinux
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Make a build directory
|
|
run: mkdir build
|
|
|
|
- name: Configure
|
|
working-directory: ./build
|
|
run: cmake .. -D BUILD_TESTS=True -D QT_VERSION_MAJOR= ${{ inputs.flags }}
|
|
|
|
- name: Build
|
|
working-directory: ./build
|
|
run: cmake --build .
|
|
|
|
- name: Run tests
|
|
working-directory: ./build/test
|
|
run: ./runUnitTests
|