1
0
forked from blue/lmdbal
lmdbal/.gitea/workflows/main.yml
2023-08-19 22:38:23 -03:00

28 lines
740 B
YAML

name: Main LMDBAL workfow
run-name: ${{ gitea.actor }} is running LMDBAL main workflow
on: [push]
jobs:
Compile:
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 BUILD_DOC=True -D BUILD_DOXYGEN_AWESOME=True -D QT_VERSION_MAJOR=5
- name: Build
working-directory: ./build
run: cmake --build .
UnitTests:
runs-on: archlinux
steps:
- name: Run tests
working-directory: ./build/test
run: ./runUnitTests
- name: Status
run: echo "${{ job.status }}"