-
Notifications
You must be signed in to change notification settings - Fork 5
75 lines (66 loc) · 1.66 KB
/
ci.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: GKI Kernel Module Build
on:
push:
branches: [ "master" ]
paths:
- ".github/workflows/ci.yml"
- "ovo/**"
pull_request:
branches: [ "master" ]
paths:
- ".github/workflows/ci.yml"
- "ovo/**"
workflow_dispatch:
jobs:
build:
name: GKI Kernel Module Build
runs-on: ubuntu-latest
needs: upload-artifact
env:
CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
CCACHE_NOHASHDIR: "true"
CCACHE_HARDLINK: "true"
strategy:
fail-fast: false
matrix:
tag:
- android12-5.10
- android13-5.10
- android13-5.15
- android14-5.15
- android14-6.1
- android15-6.6
arch:
- aarch64
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 8192
temp-reserve-mb: 2048
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run GKI Kernel Build Action
uses: ./
with:
arch: ${{ matrix.arch }}
tag: ${{ matrix.tag }}
fast_build: false
module-name: ovo
module-path: ovo
upload-artifact:
name: Upload LKM Source Code
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Upload LKM Source Code
uses: actions/upload-artifact@v4
with:
name: ovo
path: ovo