summaryrefslogtreecommitdiffstats
path: root/.github/workflows/mac.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mac.yml')
-rw-r--r--.github/workflows/mac.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 18f2cdce8..342806cd6 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -10,7 +10,15 @@ jobs:
steps:
- uses: actions/checkout@master
+ - name: Toolchain Cache
+ id: mac-toolchain
+ uses: actions/cache@v1
+ with:
+ path: /usr/local
+ key: mac-toolchain
+
- name: Setup Environment
+ if: steps.mac-toolchain.outputs.cache-hit != 'true'
run: |
scripts/mac-toolchain-build /usr/local
@@ -18,4 +26,4 @@ jobs:
run: |
./configure --launch-jobs=$(sysctl -n hw.ncpu) --launch
cd build
- make pkg.create \ No newline at end of file
+ make pkg.create