CI 1
This commit is contained in:
parent
1585b8e4f5
commit
a6ac974438
2 changed files with 8 additions and 14 deletions
|
@ -20,11 +20,11 @@ jobs:
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
name: Release documentation
|
name: Release documentation
|
||||||
runs-on: archlinux
|
runs-on: baremetall_peppersurprise
|
||||||
needs: [test-qt5, test-qt6]
|
needs: [test-qt5, test-qt6]
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Make a build directory
|
- name: Make a build directory
|
||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
@ -37,13 +37,7 @@ jobs:
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: cmake --build .
|
run: cmake --build .
|
||||||
|
|
||||||
- name: Copy docs via scp
|
- name: Deploy docs
|
||||||
uses: appleboy/scp-action@master
|
run: |
|
||||||
# working-directory: ./build/doc //doesn't work
|
rm -rf /srv/lmdbal/doc/*
|
||||||
with:
|
cp -r build/doc/html/* /srv/lmdbal/doc/
|
||||||
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
|
|
||||||
|
|
|
@ -18,14 +18,14 @@ jobs:
|
||||||
runs-on: archlinux
|
runs-on: archlinux
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Make a build directory
|
- name: Make a build directory
|
||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: cmake .. -D LMDBAL_STRICT=True -D LMDBAL_BUILD_TESTS=True -D QT_VERSION_MAJOR= ${{ inputs.flags }}
|
run: cmake .. -D LMDBAL_STRICT=True -D LMDBAL_BUILD_TESTS=True ${{ inputs.flags }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue