Build "turnip" #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- 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 | |
tag_name: workflow_${{github.run_number}} | |
name: Release ${{github.run_number}} | |
files: | | |
turnip_workdir/turnip.zip |