build(deps): bump external/apktool from 98b34fd
to cd9f729
#29
Workflow file for this run
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 | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [a52sxq, m52xq] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Free disk space | |
uses: rokibhasansagar/slimhub_actions@main | |
- name: Set up build environment | |
run: | | |
sudo apt update | |
DEBIAN_FRONTEND=noninteractive sudo apt install -yq \ | |
attr ccache clang golang libbrotli-dev \ | |
libgtest-dev libprotobuf-dev libunwind-dev libusb-1.0-0-dev libzstd-dev \ | |
linux-modules-extra-$(uname -r) lld ninja-build protobuf-compiler zipalign | |
sudo modprobe erofs f2fs | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
echo -n "${{ secrets.PLATFORM_KEY_PK8 }}" | base64 --decode > unica/security/unica_platform.pk8 | |
echo -n "${{ secrets.PLATFORM_KEY_PEM }}" | base64 --decode > unica/security/unica_platform.x509.pem | |
- name: Set up CMake | |
uses: jwlawson/[email protected] | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'gradle' | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 'latest' | |
- name: Build dependencies | |
run: source ./buildenv.sh ${{ matrix.target }} | |
- name: Download stock firmwares | |
run: | | |
source ./buildenv.sh ${{ matrix.target }} | |
./scripts/download_fw.sh | |
- name: Extract stock firmwares | |
run: | | |
source ./buildenv.sh ${{ matrix.target }} | |
./scripts/extract_fw.sh | |
- name: Build ROM | |
run: | | |
source ./buildenv.sh ${{ matrix.target }} | |
./scripts/make_rom.sh --no-rom-zip |