Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,13 @@ jobs:
echo "DO_PUBLISH=$DO_PUBLISH" | tee -a $GITHUB_ENV
echo "UPLOAD_ARTIFACT_NAME=$UPLOAD_ARTIFACT_NAME" | tee -a $GITHUB_ENV

echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV

- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: ${{runner.os}}-${{runner.arch}}-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: ${{runner.os}}-${{runner.arch}}-ccache-
- name: Setup ccache
namespace: ccache-${{runner.os}}-${{runner.arch}}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
sudo apt-get update && sudo apt-get install -y ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Install Qt
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,13 @@ jobs:
echo "DO_PUBLISH=$DO_PUBLISH" | tee -a $GITHUB_ENV
echo "UPLOAD_ARTIFACT_NAME=$UPLOAD_ARTIFACT_NAME" | tee -a $GITHUB_ENV

echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV

- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: ${{runner.os}}-${{runner.arch}}-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: ${{runner.os}}-${{runner.arch}}-ccache-
- name: Setup ccache
namespace: ccache-${{runner.os}}-${{runner.arch}}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
brew install ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Install Qt
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/build_wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,13 @@ jobs:
echo "BUILD_NUMBER=$BUILD_NUMBER" | tee -a $GITHUB_ENV
echo "UPLOAD_ARTIFACT_NAME=$UPLOAD_ARTIFACT_NAME" | tee -a $GITHUB_ENV

echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV

- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: wasm-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: wasm-ccache-
- name: Setup ccache
namespace: ccache-wasm
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
sudo apt-get update && sudo apt-get install -y ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Install Qt
Expand Down
28 changes: 10 additions & 18 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,13 @@ jobs:
echo "DO_PUBLISH=$DO_PUBLISH" | tee -a $GITHUB_ENV
echo "UPLOAD_ARTIFACT_NAME=$UPLOAD_ARTIFACT_NAME" | tee -a $GITHUB_ENV

echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV

- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: ${{runner.os}}-${{runner.arch}}-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: ${{runner.os}}-${{runner.arch}}-ccache-
- name: Setup ccache
namespace: ccache-${{runner.os}}-${{runner.arch}}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
choco install -y ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Install Qt
Expand Down Expand Up @@ -291,17 +287,13 @@ jobs:
echo "DO_PUBLISH=$DO_PUBLISH" | tee -a $GITHUB_ENV
echo "UPLOAD_ARTIFACT_NAME=$UPLOAD_ARTIFACT_NAME" | tee -a $GITHUB_ENV

echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV

- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: ${{runner.os}}-${{runner.arch}}-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: ${{runner.os}}-${{runner.arch}}-ccache-
- name: Setup ccache
namespace: ccache-${{runner.os}}-${{runner.arch}}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
choco install -y ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Install Qt
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/check_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,13 @@ jobs:

echo "BUILD_NUMBER=$BUILD_NUMBER" | tee -a $GITHUB_ENV

echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV

- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: ${{runner.os}}-${{runner.arch}}-tests-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: ${{runner.os}}-${{runner.arch}}-tests-ccache-
- name: Setup ccache
namespace: ccache-${{runner.os}}-${{runner.arch}}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
sudo apt-get update && sudo apt-get install -y ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Free up disk space
Expand Down
28 changes: 10 additions & 18 deletions .github/workflows/check_visual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,13 @@ jobs:
- name: Clone repository
uses: actions/checkout@v6

- name: Get ccache timestamp
run: echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV
- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: ${{runner.os}}-${{runner.arch}}-tests-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: ${{runner.os}}-${{runner.arch}}-tests-ccache-
- name: Setup ccache
namespace: ccache-${{runner.os}}-${{runner.arch}}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
sudo apt-get update && sudo apt-get install -y ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Install Qt
Expand Down Expand Up @@ -114,17 +110,13 @@ jobs:
with:
ref: ${{ needs.setup.outputs.reference_sha }}

- name: Get ccache timestamp
run: echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" | tee -a $GITHUB_ENV
- name: Restore ccache files
uses: actions/cache@v5
- name: Set up ccache
uses: cbjeukendrup/ccache-ghac-adapter-action@v0.2.0
with:
path: ${{ github.workspace }}/.ccache
key: ${{runner.os}}-${{runner.arch}}-tests-ccache-${{ env.CCACHE_TIMESTAMP }}
restore-keys: ${{runner.os}}-${{runner.arch}}-tests-ccache-
- name: Setup ccache
namespace: ccache-${{runner.os}}-${{runner.arch}}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure ccache
run: |
sudo apt-get update && sudo apt-get install -y ccache
bash ./buildscripts/ci/tools/setup_ccache_config.sh

- name: Install Qt
Expand Down
Loading