|
@@ -105,40 +105,6 @@ on:
|
|
|
default: true
|
|
default: true
|
|
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
|
- prepare-ccache:
|
|
|
|
|
- name: Prepare ccache binary (download once)
|
|
|
|
|
- runs-on: ubuntu-latest
|
|
|
|
|
- steps:
|
|
|
|
|
- - name: Download custom ccache once
|
|
|
|
|
- if: inputs.use_cache
|
|
|
|
|
- run: |
|
|
|
|
|
- set -uo pipefail
|
|
|
|
|
- echo "::group::Download ccache"
|
|
|
|
|
- url="https://raw.githubusercontent.com/WildKernels/kernel_patches/refs/heads/main/ccache/ccache-x86-64"
|
|
|
|
|
- ok=0
|
|
|
|
|
- for attempt in 1 2 3 4 5 6; do
|
|
|
|
|
- if curl -LfsS --connect-timeout 30 --max-time 120 -H "User-Agent: Mozilla/5.0" "$url" -o ccache && [ -s ccache ]; then
|
|
|
|
|
- ok=1; break
|
|
|
|
|
- fi
|
|
|
|
|
- echo "attempt $attempt failed (GitHub raw 504/throttle); backing off..."
|
|
|
|
|
- sleep $(( attempt * 5 + RANDOM % 6 ))
|
|
|
|
|
- done
|
|
|
|
|
- if [ "$ok" = 1 ]; then
|
|
|
|
|
- echo "[+] downloaded ccache once for all matrix jobs"
|
|
|
|
|
- else
|
|
|
|
|
- echo "::warning::custom ccache download failed; matrix jobs will fall back to the apt ccache"
|
|
|
|
|
- rm -f ccache
|
|
|
|
|
- fi
|
|
|
|
|
- echo "::endgroup::"
|
|
|
|
|
- - name: Upload ccache artifact
|
|
|
|
|
- if: inputs.use_cache
|
|
|
|
|
- uses: actions/upload-artifact@v7
|
|
|
|
|
- with:
|
|
|
|
|
- name: ccache-binary
|
|
|
|
|
- path: ccache
|
|
|
|
|
- retention-days: 1
|
|
|
|
|
- if-no-files-found: warn
|
|
|
|
|
-
|
|
|
|
|
resolve-sources:
|
|
resolve-sources:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
outputs:
|
|
outputs:
|
|
@@ -605,7 +571,6 @@ jobs:
|
|
|
|
|
|
|
|
build-android12-5-10:
|
|
build-android12-5-10:
|
|
|
needs:
|
|
needs:
|
|
|
- - prepare-ccache
|
|
|
|
|
- resolve-sources
|
|
- resolve-sources
|
|
|
- build-nomount-module
|
|
- build-nomount-module
|
|
|
- publish-manager-artifacts
|
|
- publish-manager-artifacts
|
|
@@ -635,7 +600,6 @@ jobs:
|
|
|
|
|
|
|
|
build-android13-5-10:
|
|
build-android13-5-10:
|
|
|
needs:
|
|
needs:
|
|
|
- - prepare-ccache
|
|
|
|
|
- resolve-sources
|
|
- resolve-sources
|
|
|
- build-nomount-module
|
|
- build-nomount-module
|
|
|
- publish-manager-artifacts
|
|
- publish-manager-artifacts
|
|
@@ -665,7 +629,6 @@ jobs:
|
|
|
|
|
|
|
|
build-android13-5-15:
|
|
build-android13-5-15:
|
|
|
needs:
|
|
needs:
|
|
|
- - prepare-ccache
|
|
|
|
|
- resolve-sources
|
|
- resolve-sources
|
|
|
- build-nomount-module
|
|
- build-nomount-module
|
|
|
- publish-manager-artifacts
|
|
- publish-manager-artifacts
|
|
@@ -695,7 +658,6 @@ jobs:
|
|
|
|
|
|
|
|
build-android14-5-15:
|
|
build-android14-5-15:
|
|
|
needs:
|
|
needs:
|
|
|
- - prepare-ccache
|
|
|
|
|
- resolve-sources
|
|
- resolve-sources
|
|
|
- build-nomount-module
|
|
- build-nomount-module
|
|
|
- publish-manager-artifacts
|
|
- publish-manager-artifacts
|
|
@@ -725,7 +687,6 @@ jobs:
|
|
|
|
|
|
|
|
build-android14-6-1:
|
|
build-android14-6-1:
|
|
|
needs:
|
|
needs:
|
|
|
- - prepare-ccache
|
|
|
|
|
- resolve-sources
|
|
- resolve-sources
|
|
|
- build-nomount-module
|
|
- build-nomount-module
|
|
|
- publish-manager-artifacts
|
|
- publish-manager-artifacts
|
|
@@ -755,7 +716,6 @@ jobs:
|
|
|
|
|
|
|
|
build-android15-6-6:
|
|
build-android15-6-6:
|
|
|
needs:
|
|
needs:
|
|
|
- - prepare-ccache
|
|
|
|
|
- resolve-sources
|
|
- resolve-sources
|
|
|
- build-nomount-module
|
|
- build-nomount-module
|
|
|
- publish-manager-artifacts
|
|
- publish-manager-artifacts
|
|
@@ -785,7 +745,6 @@ jobs:
|
|
|
|
|
|
|
|
build-android16-6-12:
|
|
build-android16-6-12:
|
|
|
needs:
|
|
needs:
|
|
|
- - prepare-ccache
|
|
|
|
|
- resolve-sources
|
|
- resolve-sources
|
|
|
- build-nomount-module
|
|
- build-nomount-module
|
|
|
- publish-manager-artifacts
|
|
- publish-manager-artifacts
|