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:
|
||||
name: Release documentation
|
||||
runs-on: archlinux
|
||||
runs-on: baremetall_peppersurprise
|
||||
needs: [test-qt5, test-qt6]
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Make a build directory
|
||||
run: mkdir build
|
||||
|
@ -37,13 +37,7 @@ jobs:
|
|||
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
|
||||
- name: Deploy docs
|
||||
run: |
|
||||
rm -rf /srv/lmdbal/doc/*
|
||||
cp -r build/doc/html/* /srv/lmdbal/doc/
|
||||
|
|
|
@ -18,14 +18,14 @@ jobs:
|
|||
runs-on: archlinux
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Make a build directory
|
||||
run: mkdir build
|
||||
|
||||
- name: Configure
|
||||
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
|
||||
working-directory: ./build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue