Skip to content

Commit 5c9ed82

Browse files
committed
fix ci tests for macos
1 parent 2c24b37 commit 5c9ed82

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,16 +268,12 @@ jobs:
268268
269269
270270
MacOS:
271-
name: macos-${{ matrix.build-config }}
272-
runs-on: macos-latest
273-
env:
274-
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib"
275-
CPPFLAGS: "-I/opt/homebrew/opt/llvm/include"
276-
CC: /opt/homebrew/opt/llvm/bin/clang
277-
CXX: /opt/homebrew/opt/llvm/bin/clang++
271+
name: macos-${{ matrix.os-version }}-${{ matrix.build-config }}
272+
runs-on: macos-${{ matrix.os-version }}
278273
strategy:
279274
fail-fast: false
280275
matrix:
276+
os-version: [14, 15]
281277
build-config: [debug, release]
282278

283279
steps:
@@ -300,6 +296,7 @@ jobs:
300296
run: |
301297
mkdir build
302298
cd build
299+
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
303300
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-config }} ..
304301
305302
- name: Build
@@ -311,3 +308,11 @@ jobs:
311308
run: |
312309
cd build/result/${{ matrix.build-config }}
313310
./cage-test-core
311+
312+
- name: List dependencies
313+
run: |
314+
cd build/result/${{ matrix.build-config }}
315+
echo "cage-core:"
316+
otool -L libcage-core.dylib
317+
echo "cage-engine:"
318+
otool -L libcage-engine.dylib

0 commit comments

Comments
 (0)