mirror of
https://github.com/open-goal/jak-project
synced 2026-05-31 01:16:12 -04:00
5d9a760ee5
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.17 to 1.2.18. <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.18</h2> <h2>What's Changed</h2> <ul> <li>Bump ts-jest from 29.2.5 to 29.2.6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/291">hendrikmuhs/ccache-action#291</a></li> <li>Bump typescript from 5.7.3 to 5.8.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/294">hendrikmuhs/ccache-action#294</a></li> <li>Bump <code>@types/node</code> from 22.13.0 to 22.13.9 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/296">hendrikmuhs/ccache-action#296</a></li> <li>set cache to readonly if skipping save by <a href="https://github.com/planetmarshall"><code>@planetmarshall</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/301">hendrikmuhs/ccache-action#301</a></li> <li>Update sccache version to v0.10.0 by <a href="https://github.com/mhegazy"><code>@mhegazy</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/315">hendrikmuhs/ccache-action#315</a></li> <li>Bump <code>@types/node</code> from 22.13.9 to 22.15.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/316">hendrikmuhs/ccache-action#316</a></li> <li>Bump ts-jest from 29.2.6 to 29.3.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/312">hendrikmuhs/ccache-action#312</a></li> <li>Bump typescript from 5.8.2 to 5.8.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/311">hendrikmuhs/ccache-action#311</a></li> <li>Bump <code>@actions/cache</code> from 4.0.0 to 4.0.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/299">hendrikmuhs/ccache-action#299</a></li> <li>Don't append <code>-</code> when <code>append-timestamp</code> is disabled. by <a href="https://github.com/Naros"><code>@Naros</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/306">hendrikmuhs/ccache-action#306</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mhegazy"><code>@mhegazy</code></a> made their first contribution in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/315">hendrikmuhs/ccache-action#315</a></li> <li><a href="https://github.com/Naros"><code>@Naros</code></a> made their first contribution in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/306">hendrikmuhs/ccache-action#306</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hendrikmuhs/ccache-action/compare/v1...v1.2.18">https://github.com/hendrikmuhs/ccache-action/compare/v1...v1.2.18</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/63069e3931dedbf3b63792097479563182fe70d1"><code>63069e3</code></a> update code</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/15457da8f7bbf9b2c71f2efebd847c1a84650208"><code>15457da</code></a> Don't append <code>-</code> when <code>append-timestamp</code> is disabled. (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/306">#306</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/25d49ca51adf245e1fc66fbf5485fa70ff353f64"><code>25d49ca</code></a> update code</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/5107eae3c4885a3f516e7b3391c85539abee811c"><code>5107eae</code></a> Bump <code>@actions/cache</code> from 4.0.0 to 4.0.3 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/299">#299</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/0be57ad590dbc0ddc23d1915149acb8d1d035482"><code>0be57ad</code></a> Bump typescript from 5.8.2 to 5.8.3 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/311">#311</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/82ea68836f4698bbc2a53332fb4357aec9fe5a80"><code>82ea688</code></a> Bump ts-jest from 29.2.6 to 29.3.2 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/312">#312</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/1442e5b70da90a19cbbe567fa450d6349b819e41"><code>1442e5b</code></a> Bump ts-jest from 29.2.6 to 29.3.2 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/312">#312</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/e3bfc65f9cf257b6332793c3d965c05100350a6e"><code>e3bfc65</code></a> Bump <code>@types/node</code> from 22.13.9 to 22.15.2 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/316">#316</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/fc9101105b417abd4b0a58457a3d0327aa1fa597"><code>fc91011</code></a> Update sccache version to v0.10.0 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/315">#315</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/15fe4dd483de6883ed9b919e77778f61f69fc053"><code>15fe4dd</code></a> set cache to readonly if skipping save (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/301">#301</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hendrikmuhs/ccache-action/compare/v1.2.17...v1.2.18">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@v4
|
|
|
|
- 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.18
|
|
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
|