mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
build_rocky - support ccache
This commit is contained in:
@@ -47,11 +47,11 @@ jobs:
|
|||||||
install_root=$(find ./build -maxdepth 4 -type d -name install 2>/dev/null | head -n 1 || true)
|
install_root=$(find ./build -maxdepth 4 -type d -name install 2>/dev/null | head -n 1 || true)
|
||||||
[ -n "$install_root" ] && find "$install_root" -type f -name 'cache-*.tar.gz' -maxdepth 1 -exec tar -xzf {} -C "$install_root" \; || true
|
[ -n "$install_root" ] && find "$install_root" -type f -name 'cache-*.tar.gz' -maxdepth 1 -exec tar -xzf {} -C "$install_root" \; || true
|
||||||
|
|
||||||
# Not supported on docker
|
- name: ccache
|
||||||
# - name: ccache
|
# Using fork to support Rocky.
|
||||||
# uses: hendrikmuhs/ccache-action@v1
|
uses: Andrej730/ccache-action@main
|
||||||
# with:
|
with:
|
||||||
# key: ubuntu-22.04-${{ runner.arch }}-rockylinux8
|
key: ubuntu-22.04-${{ runner.arch }}-rockylinux8
|
||||||
|
|
||||||
- name: Run Build Script
|
- name: Run Build Script
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user