diff --git a/.github/workflows/check-codestyle.yml b/.github/workflows/check-codestyle.yml index 078e946d4f..107d3e6482 100644 --- a/.github/workflows/check-codestyle.yml +++ b/.github/workflows/check-codestyle.yml @@ -66,6 +66,12 @@ jobs: with: path: ${{github.workspace}}/lib/pybind11 key: ${{ runner.os }}-pybind11 + - name: Cache eigen + uses: actions/cache@v3 + id: cache-eigen + with: + path: ${{github.workspace}}/lib/eigen + key: ${{ runner.os }}eigen - name: Install Boost run: | @@ -104,6 +110,13 @@ jobs: cd lib git clone https://github.com/pybind/pybind11.git --branch v2.10 if: steps.cache-pybind11.outputs.cache-hit != 'true' + - name: Download eigen + run: | + mkdir -p lib + sudo chown -R $USER lib + cd lib + git clone https://github.com/libigl/eigen + if: steps.cache-eigen.outputs.cache-hit != 'true' - name: Generate compile_commands.json run: | diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 4494fdb225..630acebefa 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -48,6 +48,12 @@ jobs: with: path: ${{github.workspace}}/lib/pybind11 key: ${{ runner.os }}-pybind11 + - name: Cache eigen + uses: actions/cache@v3 + id: cache-eigen + with: + path: ${{github.workspace}}/lib/eigen + key: ${{ runner.os }}eigen # Uncomment this if we set up our own git lfs server # # - name: Install git-lfs @@ -110,6 +116,13 @@ jobs: cd lib git clone https://github.com/pybind/pybind11.git --branch v2.10 if: steps.cache-pybind11.outputs.cache-hit != 'true' + - name: Download eigen + run: | + mkdir -p lib + sudo chown -R $USER lib + cd lib + git clone https://github.com/libigl/eigen + if: steps.cache-eigen.outputs.cache-hit != 'true' - name: Configure CMake run: > cmake -B ${{github.workspace}}/build