File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 1616jobs :
1717 build-batch-1 : # Non Bazel Builds
1818 strategy :
19+ fail-fast : false
1920 matrix :
2021 include :
2122 - model : OP11
7374 build-batch-2 :
7475 needs : build-batch-1
7576 strategy :
77+ fail-fast : false
7678 matrix :
7779 include :
7880 - model : OP13
@@ -100,6 +102,7 @@ jobs:
100102 build-batch-3 :
101103 needs : build-batch-2
102104 strategy :
105+ fail-fast : false
103106 matrix :
104107 include :
105108 - model : OP12
@@ -127,6 +130,7 @@ jobs:
127130 build-batch-4 :
128131 needs : build-batch-3
129132 strategy :
133+ fail-fast : false
130134 matrix :
131135 include :
132136 - model : OP-ACE-5
Original file line number Diff line number Diff line change 2727
2828jobs :
2929 build-kernel-oneplus-kernelsu-susfs :
30- runs-on : ubuntu-latest
30+ runs-on : ubuntu-20.04
3131
3232 steps :
3333 - name : Maximize build space
@@ -40,12 +40,18 @@ jobs:
4040 remove-android : ' true'
4141 remove-haskell : ' true'
4242 remove-codeql : ' true'
43+ remove-docker-images : ' true'
4344
4445 - name : Install Repo and Python
4546 run : |
4647 # Install dependencies
4748 sudo apt update
48- sudo apt install repo python3 python-is-python3
49+ sudo apt install python3 python-is-python3
50+
51+ mkdir -p ./git-repo
52+ curl https://storage.googleapis.com/git-repo-downloads/repo > ./git-repo/repo
53+ chmod a+rx ./git-repo/repo
54+ echo "REPO=$GITHUB_WORKSPACE/./git-repo/repo" >> $GITHUB_ENV
4955
5056 - name : Set CONFIG Environment Variable
5157 run : |
@@ -80,11 +86,11 @@ jobs:
8086
8187 # Initialize and sync kernel source
8288 echo "Initializing and syncing kernel source..."
83- repo init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1
89+ $REPO init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1
8490
8591 # Sync repo and apply patches
86- repo --version
87- repo --trace sync -c -j$(nproc --all) --no-tags --fail-fast
92+ $REPO --version
93+ $REPO --trace sync -c -j$(nproc --all) --no-tags --fail-fast
8894
8995 - name : Add KernelSU
9096 run : |
You can’t perform that action at this time.
0 commit comments