Verified Commit f67fcb12 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: enable ccache

parent 291b12a7
......@@ -17,6 +17,12 @@ jobs:
fetch-depth: 0
submodules: recursive
- name: ccache
uses: hendrikmuhs/ccache-action@v1
key: ${{ matrix.os }}-${{ matrix.type }}
max-size: 1G
# extract branch name
- name: Get branch name (merge)
if: github.event_name != 'pull_request'
......@@ -71,6 +77,8 @@ jobs:
export PYTHONPATH=${PYTHONPATH}:/opt/openrobots/lib/python$PYTHON3_DOT_VERSION/site-packages
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openrobots/lib:/usr/local/lib:/usr/lib:/usr/lib/x86_64-linux-gnu
export MAKEFLAGS="-j1"
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
mkdir 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