lmdbal/.gitea/workflows/main.yml

28 lines
740 B
YAML
Raw Normal View History

2023-08-19 22:31:19 +00:00
name: Main LMDBAL workfow
run-name: ${{ gitea.actor }} is running LMDBAL main workflow
on: [push]
jobs:
Compile:
2023-08-20 00:16:13 +00:00
runs-on: archlinux
2023-08-19 22:31:19 +00:00
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Make a build directory
run: mkdir build
- name: Configure
2023-08-20 01:15:34 +00:00
working-directory: ./build
run: cmake .. -D BUILD_TESTS=True -D BUILD_DOC=True -D BUILD_DOXYGEN_AWESOME=True -D QT_VERSION_MAJOR=5
2023-08-19 22:31:19 +00:00
- name: Build
2023-08-20 01:15:34 +00:00
working-directory: ./build
run: cmake --build .
2023-08-20 01:37:21 +00:00
UnitTests:
runs-on: archlinux
2023-08-20 01:38:23 +00:00
steps:
2023-08-20 01:37:21 +00:00
- name: Run tests
working-directory: ./build/test
run: ./runUnitTests
2023-08-19 22:31:19 +00:00
- name: Status
run: echo "${{ job.status }}"