-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 950 Bytes
/
Copy pathbuild-debug.yml
File metadata and controls
37 lines (31 loc) · 950 Bytes
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
name: Build Debug
on:
push:
branches: [main, dev]
workflow_dispatch:
jobs:
build:
runs-on: [self-hosted, linux, android-build]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup environment
run: ./scripts/setup-env.sh
- name: Restore ccache
uses: actions/cache@v4
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-${{ hashFiles('**/*.mk') }}
restore-keys: ccache-${{ runner.os }}-
- name: Build (debug)
env:
PULSAROS_BUILD_NUMBER: ${{ github.run_number }}
run: ./scripts/build.sh build userdebug
- name: Check licenses
run: ./scripts/check-licenses.sh
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: pulsaros-debug-${{ github.run_number }}
path: ${{ env.ANDROID_SRC }}/out/target/product/zero3/*.img