Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
cache apt dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
whi-tw committed Dec 7, 2022
1 parent e0db2c2 commit e1bad4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ jobs:
run: cp firmware/${{ matrix.firmware }}/kernel-config linux-source/.config
- name: Apply firmware-specific patches
run: find firmware/${{ matrix.firmware }}/patches -type f -name '*.patch' -print0 | sort -z | xargs -t -0 -n 1 patch -p0 -i
- name: Get and cache apt dependencies
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: gcc-aarch64-linux-gnu
version: 1.0
- name: Prepare for building
run: |
sudo apt install gcc-aarch64-linux-gnu
cd linux-source
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- olddefconfig prepare modules_prepare
- name: Build the module
Expand Down

0 comments on commit e1bad4c

Please sign in to comment.