mirror of
https://github.com/open-goal/jak-project
synced 2026-06-21 00:31:41 -04:00
d328be1084
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.22 to 1.2.23. <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.23</h2> <h2>What's Changed</h2> <ul> <li>Bump handlebars from 4.7.8 to 4.7.9 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/436">hendrikmuhs/ccache-action#436</a></li> <li>Bump <code>@types/node</code> from 25.5.0 to 25.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/440">hendrikmuhs/ccache-action#440</a></li> <li>Update ccache to 4.13.3 by <a href="https://github.com/crueter"><code>@crueter</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/441">hendrikmuhs/ccache-action#441</a></li> <li>Bump brace-expansion by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/438">hendrikmuhs/ccache-action#438</a></li> <li>Support platforms without upstream ccache/sccache releases by <a href="https://github.com/luhenry"><code>@luhenry</code></a> in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/439">hendrikmuhs/ccache-action#439</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/luhenry"><code>@luhenry</code></a> made their first contribution in <a href="https://redirect.github.com/hendrikmuhs/ccache-action/pull/439">hendrikmuhs/ccache-action#439</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/hendrikmuhs/ccache-action/compare/v1.2.22...v1.2.23">https://github.com/hendrikmuhs/ccache-action/compare/v1.2.22...v1.2.23</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/d62db5f07c26379fc4b4e0916f098a92573c3b03"><code>d62db5f</code></a> Support platforms without upstream ccache/sccache releases (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/439">#439</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/05e1c04f70f450688c8bf36082e71050cda33fff"><code>05e1c04</code></a> update code</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/46cafa7d86381b309fd628848dc9a06f6b62fa84"><code>46cafa7</code></a> Bump brace-expansion (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/438">#438</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/1f2fc71e6bcde2d2239527d286615b056034631d"><code>1f2fc71</code></a> Update ccache to 4.13.3 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/441">#441</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/a488765c244f03fddbbccc93de3f64abdb389e59"><code>a488765</code></a> Bump <code>@types/node</code> from 25.5.0 to 25.6.0 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/440">#440</a>)</li> <li><a href="https://github.com/hendrikmuhs/ccache-action/commit/c97afba725c6d99ed1e7395257fb02cc412236d5"><code>c97afba</code></a> Bump handlebars from 4.7.8 to 4.7.9 (<a href="https://redirect.github.com/hendrikmuhs/ccache-action/issues/436">#436</a>)</li> <li>See full diff in <a href="https://github.com/hendrikmuhs/ccache-action/compare/v1.2.22...v1.2.23">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 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.23
|
|
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
|