-
Notifications
You must be signed in to change notification settings - Fork 55
42 lines (36 loc) · 1.12 KB
/
turnip_builder.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
name: Build "turnip"
on:
workflow_dispatch:
schedule:
- cron: "20 5 1,15 * *"
jobs:
start_building_turnip:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Prepare environment
run: |
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt update
sudo apt build-dep mesa -y
sudo sed -i 's/jammy/mantic/g' /etc/apt/sources.list
sudo apt update
sudo apt install meson
- name: Execute build script
run: bash ./turnip_builder.sh
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: Upload meson and ninja logs for debugging
path: |
turnip_workdir/ninja_log
turnip_workdir/mesa-main/build-android-aarch64/meson-logs/meson-log.txt
- name: Release "turnip"
uses: softprops/action-gh-release@v1
with:
body: Turnip magisk module and driver package for adrenotools
tag_name: github_run
name: Weekly Action Release
files: |
turnip_workdir/turnip.zip
turnip_workdir/turnip_adrenotools.zip