ci: use Forgejo Conan registry instead of actions/cache
Pull pre-built dependencies from the Forgejo package registry (conan_build remote) instead of caching the SDK locally. Removes the 570MB actions/cache overhead since all packages are already available as pre-compiled binaries on the registry. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f3df50cba5
commit
22c0c5a251
1 changed files with 2 additions and 11 deletions
|
|
@ -38,20 +38,11 @@ jobs:
|
|||
apt-get install -y build-essential git python3 python3-pip autotools-dev pkg-config rpm
|
||||
pip install cmake --break-system-packages
|
||||
|
||||
- name: Restore SDK cache
|
||||
id: cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
${{ github.workspace }}/build/sdk
|
||||
${{ github.workspace }}/build/bin
|
||||
key: ${{ runner.os }}-${{ runner.arch }}-sdk
|
||||
|
||||
- name: Build dependencies
|
||||
run: make build-deps CPU_CORES=${{ env.CPU_CORES }}
|
||||
run: make build-deps CPU_CORES=${{ env.CPU_CORES }} CONAN_URL=${{ env.FORGEJO_URL }}/api/packages/host-uk/conan CONAN_USER=claude CONAN_PASSWORD=${{ secrets.RELEASE_TOKEN }}
|
||||
|
||||
- name: Compile
|
||||
run: make ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} CPU_CORES=${{ env.CPU_CORES }}
|
||||
run: make ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} CPU_CORES=${{ env.CPU_CORES }} CONAN_URL=${{ env.FORGEJO_URL }}/api/packages/host-uk/conan CONAN_USER=claude CONAN_PASSWORD=${{ secrets.RELEASE_TOKEN }}
|
||||
|
||||
- name: Compute release tag
|
||||
id: release
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue