ci: working-directory fixed

This commit is contained in:
Mateusz Pusz
2022-08-02 08:39:59 +02:00
parent 1c5061338f
commit 82f018f216
2 changed files with 2 additions and 4 deletions

View File

@@ -246,7 +246,7 @@ jobs:
- name: Build test_package CMake (installation)
if: matrix.config.compiler.type == 'VISUAL'
shell: cmd
working-directory: test_package/build/${{ matrix.build_type }}
working-directory: test_package
run: |
..\build\generators\conanbuild.bat
cmake --preset default -DCMAKE_INSTALL_PREFIX=../out -Bbuild/install
@@ -254,7 +254,7 @@ jobs:
- name: Build test_package CMake (installation)
if: matrix.config.compiler.type != 'VISUAL'
shell: bash
working-directory: test_package/build/${{ matrix.build_type }}
working-directory: test_package
run: |
cmake --preset default -DCMAKE_INSTALL_PREFIX=../out -Bbuild/install
cmake --build build/install --config ${{ matrix.build_type }}

View File

@@ -80,11 +80,9 @@ jobs:
run: |
conan install . -s compiler.cppstd=20 -s compiler.libcxx=libstdc++11 -c tools.cmake.cmaketoolchain:generator="Ninja Multi-Config" -e mp-units:CONAN_RUN_TESTS=True -b outdated -u
- name: Configure CMake
working-directory: build
run: |
cmake --preset default
- name: Generate documentation
working-directory: build
run: |
cmake --build --preset Release --target documentation
- name: Deploy documentation