Skip to content

Commit 29221bf

Browse files
committed
Test without Maximize
1 parent 310c8aa commit 29221bf

File tree

2 files changed

+36
-38
lines changed

2 files changed

+36
-38
lines changed

.github/workflows/build-kernel-release.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,6 @@ jobs:
8989
manifest: JiuGeFaCai_oneplus_ace5_pro_v.xml
9090
android_version: android15
9191
kernel_version: "6.6"
92-
uses: ./.github/workflows/build.yml
93-
secrets: inherit
94-
with:
95-
model: ${{ matrix.model }}
96-
soc: ${{ matrix.soc }}
97-
branch: ${{ matrix.branch }}
98-
manifest: ${{ matrix.manifest }}
99-
android_version: ${{ matrix.android_version }}
100-
kernel_version: ${{ matrix.kernel_version }}
101-
102-
build-batch-3:
103-
# needs: build-batch-2
104-
strategy:
105-
fail-fast: false
106-
matrix:
107-
include:
10892
- model: OP12
10993
soc: pineapple
11094
branch: oneplus/sm8650
@@ -117,22 +101,6 @@ jobs:
117101
manifest: oneplus_13r.xml
118102
android_version: android14
119103
kernel_version: "6.1"
120-
uses: ./.github/workflows/build.yml
121-
secrets: inherit
122-
with:
123-
model: ${{ matrix.model }}
124-
soc: ${{ matrix.soc }}
125-
branch: ${{ matrix.branch }}
126-
manifest: ${{ matrix.manifest }}
127-
android_version: ${{ matrix.android_version }}
128-
kernel_version: ${{ matrix.kernel_version }}
129-
130-
build-batch-4:
131-
# needs: build-batch-3
132-
strategy:
133-
fail-fast: false
134-
matrix:
135-
include:
136104
- model: OP-ACE-5
137105
soc: pineapple
138106
branch: oneplus/sm8650
@@ -159,8 +127,6 @@ jobs:
159127
needs:
160128
- build-batch-1
161129
- build-batch-2
162-
- build-batch-3
163-
- build-batch-4
164130
runs-on: ubuntu-latest
165131
if: ${{ inputs.make_release }}
166132
env:

.github/workflows/build.yml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,47 @@ jobs:
4141
remove-haskell: 'true'
4242
remove-codeql: 'true'
4343
remove-docker-images: 'true'
44+
# - name: Setup System
45+
# run: |
46+
# export DEBIAN_FRONTEND=noninteractive
47+
# echo "DEBIAN_FRONTEND=noninteractive" >> $GITHUB_ENV
48+
49+
# df -h
50+
51+
# sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/.ghcup /opt/hostedtoolcache/CodeQL /usr/local/share/powershell /usr/share/swift || true
52+
# sudo docker image prune --all --force
53+
# echo "some directories deleted"
54+
55+
# # Remove large unwanted packages
56+
# sudo apt-get purge -y \
57+
# aria2 ansible azure-cli shellcheck rpm xorriso zsync \
58+
# esl-erlang firefox gfortran-8 gfortran-9 google-chrome-stable \
59+
# google-cloud-sdk imagemagick \
60+
# libmagickcore-dev libmagickwand-dev libmagic-dev ant ant-optional kubectl \
61+
# mercurial apt-transport-https mono-complete libmysqlclient \
62+
# unixodbc-dev yarn chrpath libssl-dev libxft-dev \
63+
# libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev \
64+
# snmp pollinate libpq-dev postgresql-client powershell ruby-full \
65+
# sphinxsearch subversion mongodb-org microsoft-edge-stable || true
66+
67+
# # Regex-based purges (for bulk families like mysql, php, dotnet)
68+
# sudo apt-get purge -y $(dpkg-query -W -f='${binary:Package}\n' | grep -E '^mysql|^php|^dotnet') || true
69+
70+
# # Clean up
71+
# sudo apt-get autoremove -y
72+
# sudo apt-get autoclean -y
73+
# echo "some packages purged"
74+
75+
# df -h
4476

4577
- name: Install Repo and Python
4678
run: |
4779
# Install dependencies
4880
sudo apt update
49-
sudo apt install python3 python-is-python3
81+
sudo apt install -y python3 python-is-python3
5082
5183
mkdir -p ./git-repo
52-
curl https://storage.googleapis.com/git-repo-downloads/repo > ./git-repo/repo
84+
curl -sSL https://storage.googleapis.com/git-repo-downloads/repo > ./git-repo/repo
5385
chmod a+rx ./git-repo/repo
5486
echo "REPO=$GITHUB_WORKSPACE/./git-repo/repo" >> $GITHUB_ENV
5587
@@ -86,11 +118,11 @@ jobs:
86118
87119
# Initialize and sync kernel source
88120
echo "Initializing and syncing kernel source..."
89-
$REPO init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1
121+
$REPO init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1 --no-clone-bundle --no-tags
90122
91123
# Sync repo and apply patches
92124
$REPO --version
93-
$REPO --trace sync -c -j$(nproc --all) --no-tags --fail-fast
125+
$REPO --trace sync -c --no-clone-bundle --no-tags --optimized-fetch -j$(nproc --all) --fail-fast
94126
95127
- name: Add KernelSU
96128
run: |

0 commit comments

Comments
 (0)