Some checks failed
Main LMDBAL workflow / Test LMDBAL with qt5 (push) Successful in 1m12s
Main LMDBAL workflow / Test LMDBAL with qt6 (push) Successful in 1m35s
Main LMDBAL workflow / Builds documentation (push) Successful in 1m1s
Main LMDBAL workflow / Deploys documentation (push) Failing after 27s
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
name: Main LMDBAL workflow
|
|
run-name: ${{ gitea.actor }} is running LMDBAL main workflow
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test-qt5:
|
|
name: Test LMDBAL with qt5
|
|
uses: ./.forgejo/workflows/test.yml
|
|
runs-on: archlinux
|
|
with:
|
|
flags: -D QT_VERSION_MAJOR=5 -D LMDBAL_NAME=LMDBAL-QT5
|
|
|
|
test-qt6:
|
|
name: Test LMDBAL with qt6
|
|
uses: ./.forgejo/workflows/test.yml
|
|
runs-on: archlinux
|
|
with:
|
|
flags: -D QT_VERSION_MAJOR=6 -D LMDBAL_NAME=LMDBAL-QT6
|
|
|
|
build-documentation:
|
|
name: Builds documentation
|
|
runs-on: archlinux
|
|
needs: [test-qt5, test-qt6]
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Make a build directory
|
|
run: mkdir build
|
|
|
|
- name: Configure
|
|
working-directory: ./build
|
|
run: cmake .. LMDBAL_BUILD_DOC_HTML=True -D LMDBAL_BUILD_DOC_XML=True -D LMDBAL_BUILD_DOC_MAN=True -D LMDBAL_BUILD_DOXYGEN_AWESOME=True
|
|
|
|
- name: Build
|
|
working-directory: ./build
|
|
run: cmake --build .
|
|
|
|
- name: Upload docs
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: lmdbal-doc
|
|
path: build/doc
|
|
retention-days: 1
|
|
|
|
deploy-doc:
|
|
name: Deploys documentation
|
|
runs-on: archlinux
|
|
needs: [build-documentation]
|
|
steps:
|
|
- name: Download docs
|
|
uses: actions/download-artifact@v3
|
|
with:
|
|
name: lmdbal-doc
|
|
path: build/doc
|
|
|
|
- name: Deploy docs
|
|
run: |
|
|
rm -rf /srv/lmdbal/doc/*
|
|
cp -r build/doc/html/* /srv/lmdbal/doc/
|