Verified Commit 6f59e2b7 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: add support of ccache

parent 73dd5e1d
...@@ -15,6 +15,12 @@ jobs: ...@@ -15,6 +15,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}-${{ matrix.type }}
max-size: 1G
- name: Checkout submodules - name: Checkout submodules
run: | run: |
git submodule update --init git submodule update --init
...@@ -32,13 +38,15 @@ jobs: ...@@ -32,13 +38,15 @@ jobs:
conda activate pinocchio conda activate pinocchio
conda install cmake -c main conda install cmake -c main
conda install llvm-openmp libcxx=11 -c conda-forge conda install llvm-openmp libcxx=11 -c conda-forge
- name: Build Pinocchio - name: Build Pinocchio
shell: bash -l {0} shell: bash -l {0}
run: | run: |
conda activate pinocchio conda activate pinocchio
echo $CONDA_PREFIX echo $CONDA_PREFIX
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
mkdir build mkdir build
cd build cd build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment