From e9f35ecd10d2ce97eeac6562d558015bac79064b Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 4 Nov 2020 23:22:29 +0100 Subject: [PATCH] docs: Conan data caching added --- .github/workflows/conan-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conan-ci.yml b/.github/workflows/conan-ci.yml index 60120a90..65af9c7d 100644 --- a/.github/workflows/conan-ci.yml +++ b/.github/workflows/conan-ci.yml @@ -63,6 +63,17 @@ jobs: CXX: g++-10 steps: - uses: actions/checkout@v2 + - name: Cache Conan data + uses: actions/cache@v2 + env: + cache-name: cache-conan-data + with: + path: ~/.conan/data + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/metadata.json') }} + restore-keys: | + ${{ runner.os }}-build-${{ env.cache-name }}- + ${{ runner.os }}-build- + ${{ runner.os }}- - name: Set up Python uses: actions/setup-python@v2 with: @@ -81,7 +92,7 @@ jobs: - name: Install Conan dependencies run: | mkdir build && cd build - conan install .. -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True + conan install .. -s compiler.cppstd=20 -s compiler.libcxx=libstdc++11 -e mp-units:CONAN_RUN_TESTS=True -b outdated -u - name: Generate documentation run: | cmake ..