2024-10-25 01:47:47 +08:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
2024-10-25 07:19:57 +08:00
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: 测试
|
|
|
|
run: |
|
2024-10-25 07:25:33 +08:00
|
|
|
sudo apt update && sudo apt -y dist-upgrade
|
2024-10-25 07:35:30 +08:00
|
|
|
sudo apt install -y gcc g++ make texinfo texlive bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32readline-dev lib32z1-dev liblz4-tool libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev unzip language-pack-zh-hans
|
2024-10-25 07:25:33 +08:00
|
|
|
git clone https://xc.null.red:3000/nullptr/android_kernel_xiaomi_mondrian
|
|
|
|
ls -al
|
2024-10-25 07:35:30 +08:00
|
|
|
pwd
|
|
|
|
mkdir -p "$HOME/toolchains/neutron-clang"
|
|
|
|
cd "$HOME/toolchains/neutron-clang"
|
|
|
|
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") -S
|
|
|
|
|