forked from svpcom/rtl8812au
-
Notifications
You must be signed in to change notification settings - Fork 10
38 lines (36 loc) · 1.07 KB
/
build_rpi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
overprovision-lvm: 'true'
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: pguyot/arm-runner-action@98b8d5a3228f504a8bd54913ab1e23d70f369c6e
id: build_image
with:
base_image: raspios_lite:2023-05-03
image_additional_mb: 4000
copy_repository_path: /opt
copy_artifact_path: OpenHD
import_github_env: true
commands: |
cd /opt
cd rtl8812au
sudo apt update
sudo apt install -y build-essential tree git build-essential bc
git clone --depth=1 https://github.com/OpenHD/OpenHD-KernelBuilder
make KSRC=OpenHD-KernelBuilder
ls