From 7c612eb9b8430fe8b95e4f3a5e2ef51e8efc7152 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 4 Nov 2020 22:47:56 +0100 Subject: [PATCH] build: documentation generation fixed again --- .github/workflows/conan-ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/conan-ci.yml b/.github/workflows/conan-ci.yml index 0e11f11d..60120a90 100644 --- a/.github/workflows/conan-ci.yml +++ b/.github/workflows/conan-ci.yml @@ -67,20 +67,26 @@ jobs: uses: actions/setup-python@v2 with: python-version: '3.8' - - name: Install dependencies + - name: Install Python dependencies run: | pip install -Ur docs/requirements.txt - name: Install Conan run: | pip install -U conan + - name: Configure Conan + run: | conan config init - - name: Generate + conan remote add upload ${{ secrets.CONAN_UPLOAD }} + conan remote add linear-algebra https://api.bintray.com/conan/twonington/public-conan + - name: Install Conan dependencies run: | mkdir build && cd build - conan install .. -e CONAN_RUN_TESTS=True + conan install .. -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True + - name: Generate documentation + run: | cmake .. cmake --build . --target sphinx - - name: Deploy + - name: Deploy documentation uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}