2023-08-19 22:31:19 +00:00
|
|
|
name: Main LMDBAL workfow
|
|
|
|
run-name: ${{ gitea.actor }} is running LMDBAL main workflow
|
2023-08-20 14:56:39 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-08-20 14:58:30 +00:00
|
|
|
- master
|
2023-08-19 22:31:19 +00:00
|
|
|
|
|
|
|
jobs:
|
2024-11-30 17:44:07 +00:00
|
|
|
test-qt5:
|
|
|
|
name: Test LMDBAL with qt5
|
2024-11-30 17:45:27 +00:00
|
|
|
uses: ./.gitea/workflows/aur.yml
|
2024-11-30 17:44:07 +00:00
|
|
|
with:
|
|
|
|
flags: -D QT_VERSION_MAJOR=5
|
|
|
|
|
2024-11-30 17:46:43 +00:00
|
|
|
test-qt6:
|
2024-11-30 17:44:07 +00:00
|
|
|
name: Test LMDBAL with qt6
|
2024-11-30 17:45:27 +00:00
|
|
|
uses: ./.gitea/workflows/aur.yml
|
2024-11-30 17:44:07 +00:00
|
|
|
with:
|
|
|
|
flags: -D QT_VERSION_MAJOR=6
|
|
|
|
|
|
|
|
docs:
|
|
|
|
name: Release documentation
|
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
|
2023-08-20 15:10:32 +00:00
|
|
|
|
2023-08-19 22:31:19 +00:00
|
|
|
- name: Make a build directory
|
|
|
|
run: mkdir build
|
2023-08-20 15:10:32 +00:00
|
|
|
|
2023-08-19 22:31:19 +00:00
|
|
|
- name: Configure
|
2023-08-20 01:15:34 +00:00
|
|
|
working-directory: ./build
|
2024-11-30 17:44:07 +00:00
|
|
|
run: cmake .. BUILD_DOC_HTML=True -D BUILD_DOC_XML=True -D BUILD_DOC_MAN=True -D BUILD_DOXYGEN_AWESOME=True
|
2023-08-20 15:10:32 +00:00
|
|
|
|
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 15:10:32 +00:00
|
|
|
|
2023-08-20 14:56:39 +00:00
|
|
|
- name: Copy docs via scp
|
2023-08-20 15:21:08 +00:00
|
|
|
uses: appleboy/scp-action@master
|
|
|
|
# working-directory: ./build/doc //doesn't work
|
2023-08-20 14:56:39 +00:00
|
|
|
with:
|
|
|
|
host: ${{ secrets.DOMAIN_ROOT }}
|
|
|
|
username: ${{ secrets.DEPLOY_USER_NAME }}
|
|
|
|
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
|
2023-08-20 15:23:58 +00:00
|
|
|
source: "build/doc/html/*,build/doc/xml/*,build/doc/man/*"
|
2024-03-03 23:09:06 +00:00
|
|
|
target: "/srv/lmdbal/doc"
|
2023-08-20 15:21:08 +00:00
|
|
|
strip_components: 2
|