aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/compile.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml
index 78ca9cc..c6278d3 100644
--- a/.github/workflows/compile.yml
+++ b/.github/workflows/compile.yml
@@ -18,9 +18,20 @@ jobs:
- name: Requirements
run: |
sudo apt -qqy update
- sudo apt -qqy install avr-libc binutils-avr gcc-avr wget unzip
+ sudo apt -qqy install avr-libc binutils-avr gcc-avr unzip wget
- - name: Install Device Family Pack
+ - name: Cache Atmel DFPs
+ id: cache-dfp
+ uses: actions/cache@v3
+ env:
+ cache-name: cache-dfp-files
+ with:
+ path: arch/dfp
+ # new cache whenever the dfp-install script changes
+ key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('bin/dfp-install.sh') }}
+
+ - name: Install Atmel DFPs
+ if: steps.cache-dfp.outputs.cache-hit != 'true'
run: |
./make dfp