build: Small cleanup of GitHub Actions

This commit is contained in:
Mateusz Pusz
2021-03-19 14:02:53 +01:00
parent 590044b9f2
commit 0cbfcf2aa6
2 changed files with 2 additions and 3 deletions

View File

@@ -88,6 +88,5 @@ jobs:
mkdir _lgtm_build_dir && cd _lgtm_build_dir
conan install .. -s compiler.cppstd=20 -s compiler.libcxx=libstdc++11 -o mp-units:build_docs=False -e mp-units:CONAN_RUN_TESTS=True -b outdated -u
conan build ..
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

View File

@@ -81,12 +81,12 @@ jobs:
mkdir build && cd build
conan install .. -s compiler.cppstd=20 -s compiler.libcxx=libstdc++11 -e mp-units:CONAN_RUN_TESTS=True -b outdated -u
- name: Configure CMake
working-directory: build
run: |
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
- name: Generate documentation
working-directory: build
run: |
cd build
cmake --build . --target documentation --config Release
- name: Deploy documentation
if: github.ref == 'refs/heads/master'