Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Update Cache Action #124

Closed
wants to merge 1 commit into from
Closed
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
9 changes: 4 additions & 5 deletions .github/actions/qt-android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ runs:
- name: Setup Android Environment
uses: android-actions/setup-android@v3
with:
cmdline-tools-version: 11076708
packages: 'platform-tools platforms;android-34 build-tools;34.0.0' # ndk;25.1.8937393'
cmdline-tools-version: 12266719
packages: 'platform-tools platforms;android-35 build-tools;35.0.0' # ndk;25.1.8937393'
log-accepted-android-sdk-licenses: false

- name: Install Android NDK
Expand All @@ -50,14 +50,13 @@ runs:
shell: bash

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
create-symlink: ${{ runner.os != 'Windows' }}
key: ${{ runner.os }}-Android-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-Android-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for ${{ runner.os }}
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,13 @@ jobs:
# uses: mozilla-actions/[email protected]

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
variant: sccache
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for Windows (x64)
if: matrix.Arch == 'x64'
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ jobs:
- uses: lukka/get-cmake@latest

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-iOS-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-iOS-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for MacOS
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,13 @@ jobs:
sudo make install

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
create-symlink: true
key: ${{ runner.os }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for Linux
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@ jobs:
echo "PKG_CONFIG_PATH=/Library/Frameworks/GStreamer.framework/lib/pkgconfig:/Library/Frameworks/GStreamer.framework/lib/gstreamer-1.0/pkgconfig:${{ env.PKG_CONFIG_PATH }}" >> "$GITHUB_ENV"

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,13 @@ jobs:
# uses: mozilla-actions/[email protected]

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
variant: sccache
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for Windows (x64)
if: matrix.Arch == 'x64'
Expand Down
Loading