forked from ghuntley/denon-prime4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up ccache and buildroot download cache in CI.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,11 @@ jobs: | |
build: | ||
runs-on: [ self-hosted, ubuntu ] | ||
|
||
strategy: | ||
matrix: | ||
model: | ||
- JC11 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Install dependencies | ||
|
@@ -32,6 +37,19 @@ jobs: | |
unzip \ | ||
wget \ | ||
xz-utils | ||
- name: Set up caching for buildroot downloads | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/buildroot-dl | ||
key: buildroot-dl | ||
- name: Set up ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ matrix.model }} | ||
- name: Set up environment for buildroot | ||
run: | | ||
export BR2_CCACHE=y | ||
export BR2_DL_DIR="$HOME/buildroot-dl" | ||
- name: Set up Git for patching | ||
run: | | ||
git config --global user.name "Buildroot" | ||
|