diff --git a/.github/workflows/conan-ci.yml b/.github/workflows/conan-ci.yml index af64e3ff..1a38173e 100644 --- a/.github/workflows/conan-ci.yml +++ b/.github/workflows/conan-ci.yml @@ -26,7 +26,7 @@ on: [push, pull_request] jobs: conan: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: @@ -39,13 +39,9 @@ jobs: uses: actions/setup-python@v2 with: python-version: '3.8' - - name: Upgrade pip - run: | - python -m pip install --upgrade pip - name: Install Conan run: | pip install -U conan_package_tools - conan config init - name: Run env: CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }} @@ -59,28 +55,29 @@ jobs: docs: needs: conan name: Documentation - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: CC: gcc-10 CXX: g++-10 steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.8' - name: Install dependencies run: | - sudo apt install -y gcc-10 g++-10 pip install -Ur docs/requirements.txt - - name: Install Conan run: | pip install -U conan conan config init - - - name: Build + - name: Generate run: mkdir build && cd build conan install .. -e CONAN_RUN_TESTS=True cmake .. cmake --build . --target sphinx - - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: