Files
jak-project/.github/workflows/macos-build-arm.yaml
T
dependabot[bot] d328be1084 build(deps): bump hendrikmuhs/ccache-action from 1.2.22 to 1.2.23 (#4255)
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 />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hendrikmuhs/ccache-action&package-manager=github_actions&previous-version=1.2.22&new-version=1.2.23)](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>
2026-05-01 21:41:26 -04:00

82 lines
2.1 KiB
YAML

name: MacOS Build
on:
workflow_call:
inputs:
cmakePreset:
required: true
type: string
cachePrefix:
required: true
type: string
uploadArtifacts:
required: false
type: boolean
default: false
jobs:
build:
name: ARM
runs-on: macos-15
timeout-minutes: 120
steps:
- name: Checkout Repository
uses: actions/checkout@v6
- name: Install Package Dependencies
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_ANALYTICS: 1
run: |
if ! brew install ninja nasm; then
brew update
brew install ninja nasm
fi
- name: Setup sccache
uses: hendrikmuhs/ccache-action@v1.2.23
with:
variant: sccache
key: macos-15-${{ inputs.cachePrefix }}-${{ inputs.cmakePreset }}-${{ github.sha }}
restore-keys: macos-15-${{ inputs.cachePrefix }}-${{ inputs.cmakePreset }}
max-size: 1000M
- name: CMake Generation
env:
CC: clang
CXX: clang++
run: |
cmake -B build --preset=${{ inputs.cmakePreset }} \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
- name: Build Project
run: cmake --build build --parallel $((`sysctl -n hw.logicalcpu`))
- name: List libraries of gk
run: otool -L ./build/game/gk
- name: Run Tests
run: ./test.sh
- name: Prepare artifacts
if: ${{ inputs.uploadArtifacts }}
run: |
strip ./build/goalc/goalc
strip ./build/decompiler/extractor
strip ./build/game/gk
strip ./build/lsp/lsp
- name: Upload artifact
uses: actions/upload-artifact@v7
if: ${{ inputs.uploadArtifacts }}
with:
name: opengoal-macos-arm-${{ inputs.cachePrefix }}
if-no-files-found: error
path: |
./build/goalc/goalc
./build/decompiler/extractor
./build/game/gk
./build/lsp/lsp