Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
99degree authored Jun 26, 2024
1 parent bb21518 commit d3447b4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Substitute placeholders in configs
run: |
sudo apt update
sudo apt-get install gcc-aarch64-linux-gnu
sudo apt-get install binutils-aarch64-linux-gnu
sudo apt-get install -y gcc-aarch64-linux-gnu
sudo apt-get install -y binutils-aarch64-linux-gnu
find . -type f -name "*.cfg" -exec sed -i "s|HOME|$(echo $HOME)|;s|NPROC|$(nproc)|" {} +
shell: bash

Expand Down Expand Up @@ -78,7 +78,15 @@ jobs:
cd linux
shopt -s expand_aliases
source ../pmbootstrap/helpers/envkernel.sh
# fetch local config
git fetch 99degree config
git checkout 99degree/config -- arch/arm64/configs/sm71xx-xiaomi.config
# apply local config
make defconfig sm71xx-xiaomi.config
# make it
make -j$(nproc)
#to failsafe for private build...
pmbootstrap build --envkernel linux-postmarketos-qcom-sm7125
Expand Down

0 comments on commit d3447b4

Please sign in to comment.