Skip to content

Commit

Permalink
Enable tests on M1 MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
luben committed Apr 3, 2024
1 parent c76455c commit 2e00ab1
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: ./sbt jacoco

- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}
Expand Down Expand Up @@ -75,24 +75,17 @@ 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

- name: Symbols
if: matrix.target_arch == 'x86_64'
run: nm -m target/classes/darwin/${{ matrix.target_arch }}/libzstd-jni-${nativeJniVersion}.dylib

- name: Test
if: matrix.target_arch == 'x86_64'
run: ./sbt jacoco

- name: Upload coverage
if: matrix.target_arch == 'x86_64'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}
Expand Down Expand Up @@ -141,7 +134,7 @@ jobs:
run: ./sbt jacoco

- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}
Expand Down

0 comments on commit 2e00ab1

Please sign in to comment.