mirror of
https://github.com/open-goal/jak-project
synced 2026-09-09 20:21:28 -04:00
ci: list linked libraries on gk in macOS builds
This commit is contained in:
@@ -51,6 +51,7 @@ jobs:
|
||||
with:
|
||||
cmakePreset: "Release-macos-x86_64-clang"
|
||||
cachePrefix: ""
|
||||
secrets: inherit
|
||||
|
||||
build_macos_arm:
|
||||
name: "🍎 MacOS"
|
||||
@@ -58,3 +59,4 @@ jobs:
|
||||
with:
|
||||
cmakePreset: "Release-macos-x86_64-clang"
|
||||
cachePrefix: ""
|
||||
secrets: inherit
|
||||
|
||||
@@ -9,6 +9,10 @@ on:
|
||||
cachePrefix:
|
||||
required: true
|
||||
type: string
|
||||
uploadArtifacts:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -43,11 +47,23 @@ jobs:
|
||||
- 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@v4
|
||||
if: ${{ inputs.uploadArtifacts }}
|
||||
with:
|
||||
name: opengoal-macos-arm-${{ inputs.cachePrefix }}
|
||||
if-no-files-found: error
|
||||
|
||||
@@ -57,6 +57,9 @@ jobs:
|
||||
- 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user