blue
1083df36ee
Some checks failed
Main LMDBAL workfow / Debug Repository State (push) Successful in 4s
Main LMDBAL workfow / Test LMDBAL with qt5 (push) Failing after 0s
Main LMDBAL workfow / Test LMDBAL with qt6 (push) Failing after 0s
Main LMDBAL workfow / Release documentation (push) Has been skipped
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
name: Main LMDBAL workfow
|
|
run-name: ${{ gitea.actor }} is running LMDBAL main workflow
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
debug-path:
|
|
name: Debug Repository State
|
|
runs-on: archlinux
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: List all files
|
|
run: |
|
|
echo "Listing files in $(pwd):"
|
|
ls -R
|
|
|
|
test-qt5:
|
|
name: Test LMDBAL with qt5
|
|
uses: ./.gitea/workflows/test.yml
|
|
with:
|
|
flags: -D QT_VERSION_MAJOR=5
|
|
|
|
test-qt6:
|
|
name: Test LMDBAL with qt6
|
|
uses: ./.gitea/workflows/test.yml
|
|
with:
|
|
flags: -D QT_VERSION_MAJOR=6
|
|
|
|
docs:
|
|
name: Release documentation
|
|
runs-on: archlinux
|
|
needs: [test-qt5, test-qt6]
|
|
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 .. BUILD_DOC_HTML=True -D BUILD_DOC_XML=True -D BUILD_DOC_MAN=True -D BUILD_DOXYGEN_AWESOME=True
|
|
|
|
- name: Build
|
|
working-directory: ./build
|
|
run: cmake --build .
|
|
|
|
- name: Copy docs via scp
|
|
uses: appleboy/scp-action@master
|
|
# working-directory: ./build/doc //doesn't work
|
|
with:
|
|
host: ${{ secrets.DOMAIN_ROOT }}
|
|
username: ${{ secrets.DEPLOY_USER_NAME }}
|
|
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
|
|
source: "build/doc/html/*,build/doc/xml/*,build/doc/man/*"
|
|
target: "/srv/lmdbal/doc"
|
|
strip_components: 2
|