Skip to content
Snippets Groups Projects
Verified Commit d01ee847 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: use ccache

parent e2b70f00
No related branches found
No related tags found
No related merge requests found
Pipeline #15878 passed with warnings
...@@ -4,8 +4,10 @@ on: [push,pull_request] ...@@ -4,8 +4,10 @@ on: [push,pull_request]
jobs: jobs:
eigenpy-conda: eigenpy-conda:
name: CI - EigenPy on ${{ matrix.os }} via Conda name: CI on ${{ matrix.os }} via Conda
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
CCACHE_DIR: /github/home/.ccache # Enable ccache
strategy: strategy:
fail-fast: false fail-fast: false
...@@ -14,10 +16,8 @@ jobs: ...@@ -14,10 +16,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
- name: Checkout submodules submodules: recursive
run: |
git submodule update --init
- uses: conda-incubator/setup-miniconda@v2 - uses: conda-incubator/setup-miniconda@v2
with: with:
...@@ -26,6 +26,11 @@ jobs: ...@@ -26,6 +26,11 @@ jobs:
environment-file: .github/workflows/conda/environment.yml environment-file: .github/workflows/conda/environment.yml
python-version: 3.8 python-version: 3.8
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
- name: Install cmake and update conda - name: Install cmake and update conda
shell: bash -l {0} shell: bash -l {0}
run: | run: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment