mirror of
https://github.com/open-goal/jak-project
synced 2026-06-12 13:35:39 -04:00
abf27960f0
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.19 to 1.2.20. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hendrikmuhs/ccache-action/releases">hendrikmuhs/ccache-action's releases</a>.</em></p> <blockquote> <h2>v1.2.20</h2> <h2>What's Changed</h2> <ul> <li>Bump <code>@types/node</code> from 24.3.1 to 24.5.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/368">hendrikmuhs/ccache-action#368</a></li> <li>Bump ts-jest from 29.4.1 to 29.4.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/367">hendrikmuhs/ccache-action#367</a></li> <li>Bump <code>@types/node</code> from 24.5.0 to 24.5.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/371">hendrikmuhs/ccache-action#371</a></li> <li>Bump ts-jest from 29.4.2 to 29.4.4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/373">hendrikmuhs/ccache-action#373</a></li> <li>Bump <code>@types/node</code> from 24.5.2 to 24.6.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/377">hendrikmuhs/ccache-action#377</a></li> <li>Bump jest from 30.1.3 to 30.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/376">hendrikmuhs/ccache-action#376</a></li> <li>Bump <code>@vercel/ncc</code> from 0.38.3 to 0.38.4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/372">hendrikmuhs/ccache-action#372</a></li> <li>Bump <code>@types/node</code> from 24.6.0 to 24.6.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/380">hendrikmuhs/ccache-action#380</a></li> <li>Bump <code>@actions/cache</code> from 4.0.5 to 4.1.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/375">hendrikmuhs/ccache-action#375</a></li> <li>Bump typescript from 5.9.2 to 5.9.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/379">hendrikmuhs/ccache-action#379</a></li> <li>restore.ts - fix typo by <a href="https://github.com/Andrej730"><code>@Andrej730</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/381">hendrikmuhs/ccache-action#381</a></li> <li>Bump <code>@types/node</code> from 24.6.2 to 24.7.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/384">hendrikmuhs/ccache-action#384</a></li> <li>Support 'dnf' for installing ccache on Red Hat by <a href="https://github.com/Andrej730"><code>@Andrej730</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/383">hendrikmuhs/ccache-action#383</a></li> <li>Use 'MB' in max-size default instead of 'M' by <a href="https://github.com/Andrej730"><code>@Andrej730</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/382">hendrikmuhs/ccache-action#382</a></li> <li>Bump <code>@types/node</code> from 24.7.0 to 24.8.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/385">hendrikmuhs/ccache-action#385</a></li> <li>Bump <code>@types/node</code> from 24.8.1 to 24.9.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/389">hendrikmuhs/ccache-action#389</a></li> <li>Bump <code>@types/node</code> from 24.9.1 to 24.10.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/390">hendrikmuhs/ccache-action#390</a></li> <li>Fix windows cache misses due to updating cl mtime <a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/387">#387</a> by <a href="https://github.com/Andrej730"><code>@Andrej730</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/388">hendrikmuhs/ccache-action#388</a></li> <li>Bump js-yaml from 3.14.1 to 3.14.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/392">hendrikmuhs/ccache-action#392</a></li> <li>restore.ts - <code>update-package-index</code> option by <a href="https://github.com/Andrej730"><code>@Andrej730</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/386">hendrikmuhs/ccache-action#386</a></li> <li>Bump glob from 10.4.5 to 10.5.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/393">hendrikmuhs/ccache-action#393</a></li> <li>Bump <code>@actions/io</code> from 1.1.3 to 2.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/391">hendrikmuhs/ccache-action#391</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Andrej730"><code>@Andrej730</code></a> made their first contribution in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/381">hendrikmuhs/ccache-action#381</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hendrikmuhs/ccache-action/compare/v1.2.19...v1.2.20">https://github.com/hendrikmuhs/ccache-action/compare/v1.2.19...v1.2.20</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/5ebbd400eff9e74630f759d94ddd7b6c26299639"><code>5ebbd40</code></a> update code</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/8eaa33262135a4d5809ca89a4b0f1f0aed32b50a"><code>8eaa332</code></a> Bump <code>@actions/io</code> from 1.1.3 to 2.0.0 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/391">#391</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/31a2a504cada025c59346bb3fee0b2a5b0162a0b"><code>31a2a50</code></a> Bump glob from 10.4.5 to 10.5.0 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/393">#393</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/a89365ec0bc25c02463840d0e844ad2c15fcfdd5"><code>a89365e</code></a> restore.ts - <code>update-package-index</code> option (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/386">#386</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/04bc35a485f75ff4344ac8d0dbd0aed9a9cf9afb"><code>04bc35a</code></a> Bump js-yaml from 3.14.1 to 3.14.2 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/392">#392</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/9a068f7c6e588b82411cde028547a603fb683b57"><code>9a068f7</code></a> Fix issue with cache misses on Windows due to updating cl mtime (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/388">#388</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/6aa6b76b603f8d6bd81e25d2825fe89f33f76d0a"><code>6aa6b76</code></a> Bump <code>@types/node</code> from 24.9.1 to 24.10.0 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/390">#390</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/97635eac5f893a37d7025e081038e3629f185c26"><code>97635ea</code></a> Bump <code>@types/node</code> from 24.8.1 to 24.9.1 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/389">#389</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/dfffa42bcd2c0a1984bbb3385deec93444da212d"><code>dfffa42</code></a> Bump <code>@types/node</code> from 24.7.0 to 24.8.1 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/385">#385</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/30ae3502c7f2d3200209bf2f90eccef2357896cf"><code>30ae350</code></a> Use 'MB' in max-size default instead of 'M' (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/382">#382</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hendrikmuhs/ccache-action/compare/v1.2.19...v1.2.20">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
59 lines
1.7 KiB
YAML
59 lines
1.7 KiB
YAML
name: Linux Build GCC
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
cmakePreset:
|
|
required: true
|
|
type: string
|
|
cachePrefix:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
build:
|
|
name: GCC
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 60
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Package Dependencies
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install build-essential cmake \
|
|
clang gcc-10 g++-10 lcov make nasm libxrandr-dev \
|
|
libxinerama-dev libxcursor-dev libpulse-dev \
|
|
libxi-dev zip ninja-build libgl1-mesa-dev libssl-dev
|
|
|
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
|
|
sudo update-alternatives --set gcc /usr/bin/gcc-10
|
|
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
|
|
sudo update-alternatives --set g++ /usr/bin/g++-10
|
|
|
|
- name: Setup sccache
|
|
uses: hendrikmuhs/ccache-action@v1.2.20
|
|
with:
|
|
variant: sccache
|
|
key: linux-ubuntu-22.04-${{ inputs.cachePrefix }}-${{ inputs.cmakePreset }}-${{ github.sha }}
|
|
restore-keys: linux-ubuntu-22.04-${{ inputs.cachePrefix }}-${{ inputs.cmakePreset }}
|
|
max-size: 1000M
|
|
|
|
- name: CMake Generation
|
|
env:
|
|
CC: gcc
|
|
CXX: g++
|
|
run: |
|
|
cmake -B build --preset=${{ inputs.cmakePreset }} \
|
|
-DCODE_COVERAGE=OFF \
|
|
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
|
|
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
|
|
|
|
- name: Build Project
|
|
run: cmake --build build --parallel $((`nproc`))
|
|
|
|
- name: Run Tests
|
|
run: ./test.sh
|