From 36c2310a009f4b9480d8aad3bce2cfb90c38eeb8 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Thu, 1 Jun 2023 00:16:15 +0200
Subject: [PATCH] ci: fix for OSX path

---
 .github/workflows/macos-linux-conda.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/macos-linux-conda.yml b/.github/workflows/macos-linux-conda.yml
index e7c46832..12b96bc5 100644
--- a/.github/workflows/macos-linux-conda.yml
+++ b/.github/workflows/macos-linux-conda.yml
@@ -7,7 +7,7 @@ jobs:
     name: ${{ matrix.os }} - ${{ matrix.build_type }} ${{ matrix.cxx_options }}
     runs-on: ${{ matrix.os }}
     env:
-      CCACHE_DIR: /home/runner/.ccache # Enable ccache
+      CCACHE_DIR: ${{ matrix.CCACHE_DIR }}
 
     strategy:
       fail-fast: false
@@ -16,6 +16,11 @@ jobs:
         cxx_options: ['', '-mavx2']
         build_type: [Release, Debug]
 
+        include:
+          - os: ubuntu-latest
+            CCACHE_DIR: /home/runner/.ccache
+          - os: macos-latest
+            CCACHE_DIR: /Users/runner/.ccache
 
         exclude:
           - build_type: Debug
-- 
GitLab