Skip to content

Commit

Permalink
Add debugging in MacOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
luben committed Apr 3, 2024
1 parent ec1ddeb commit c76455c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
fail-fast: false
matrix:
include: [
{ os: macos-latest, host_arch: x86_64, macos_target: x86_64-apple-macos10.12, target_arch: x86_64 },
{ os: macos-latest, host_arch: aarch64, macos_target: arm64-apple-macos11, target_arch: aarch64 }
{ os: macos-13, host_arch: x86_64, macos_target: x86_64-apple-macos10.12, target_arch: x86_64 },
{ os: macos-14, host_arch: aarch64, macos_target: arm64-apple-macos11, target_arch: aarch64 }
]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -61,6 +61,9 @@ jobs:
with:
xcode-version: latest

- name: Inspect arch
run: arch

- name: Install sbt-java-module-info
run: pushd ./sbt-java-module-info; ./sbt publishLocal; popd

Expand All @@ -72,6 +75,9 @@ jobs:
- name: Env
run: echo "nativeJniVersion=`cat version`" >> $GITHUB_ENV

- name: Inspect classes
run: ls -al target/classes/darwin

- name: Inspect
if: matrix.target_arch == 'x86_64'
run: otool -L target/classes/darwin/${{ matrix.target_arch }}/libzstd-jni-${nativeJniVersion}.dylib
Expand Down

0 comments on commit c76455c

Please sign in to comment.