mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
build_win - use official ccache-action as PR got merged
This commit is contained in:
@@ -48,8 +48,8 @@ jobs:
|
|||||||
[ -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
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
# Latest release (1.2.19) doesn't support Rocky, so using a specific commit.
|
# TODO: Use tag after 1.2.20 releases.
|
||||||
uses: hendrikmuhs/ccache-action@eca11c308176d48942455b9e5b1b70ff6950a778
|
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639
|
||||||
with:
|
with:
|
||||||
key: ubuntu-22.04-${{ runner.arch }}-rockylinux8
|
key: ubuntu-22.04-${{ runner.arch }}-rockylinux8
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,8 @@ jobs:
|
|||||||
[ -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
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
# Latest release (1.2.19) doesn't support Rocky, so using a specific commit.
|
# TODO: Use tag after 1.2.20 releases.
|
||||||
uses: hendrikmuhs/ccache-action@eca11c308176d48942455b9e5b1b70ff6950a778
|
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639
|
||||||
with:
|
with:
|
||||||
key: ubuntu-22.04-${{ runner.arch }}-rockylinux8
|
key: ubuntu-22.04-${{ runner.arch }}-rockylinux8
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
# Use fork to resolve cache misses / duplicated cache entries on Windows.
|
# TODO: Use tag after 1.2.20 releases.
|
||||||
uses: Andrej730/ccache-action@main
|
uses: hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639
|
||||||
with:
|
with:
|
||||||
key: win-${{ matrix.arch }}
|
key: win-${{ matrix.arch }}
|
||||||
# Windows ccache needs ~1GB
|
# Windows ccache needs ~1GB
|
||||||
|
|||||||
@@ -70,7 +70,10 @@ jobs:
|
|||||||
libhdf5-dev libcgal-dev libeigen3-dev
|
libhdf5-dev libcgal-dev libeigen3-dev
|
||||||
|
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
# TODO: temporarily pointing to 1.2.19 to get notified by dependabot when 1.2.20 is released
|
||||||
|
# to update hardcoded references to commits in some other workflows.
|
||||||
|
# Then we can switch back to 1.2 in all actions.
|
||||||
|
uses: hendrikmuhs/ccache-action@v1.2.19
|
||||||
with:
|
with:
|
||||||
key: ubuntu-22.04-${{ runner.arch }}
|
key: ubuntu-22.04-${{ runner.arch }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user