Skip to content

Commit 2e00ab1

Browse files
committed
Enable tests on M1 MacOS
1 parent c76455c commit 2e00ab1

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/ci.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: ./sbt jacoco
3333

3434
- name: Upload coverage
35-
uses: codecov/codecov-action@v3
35+
uses: codecov/codecov-action@v4
3636

3737
- name: Deploy
3838
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}
@@ -75,24 +75,17 @@ jobs:
7575
- name: Env
7676
run: echo "nativeJniVersion=`cat version`" >> $GITHUB_ENV
7777

78-
- name: Inspect classes
79-
run: ls -al target/classes/darwin
80-
8178
- name: Inspect
82-
if: matrix.target_arch == 'x86_64'
8379
run: otool -L target/classes/darwin/${{ matrix.target_arch }}/libzstd-jni-${nativeJniVersion}.dylib
8480

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

8984
- name: Test
90-
if: matrix.target_arch == 'x86_64'
9185
run: ./sbt jacoco
9286

9387
- name: Upload coverage
94-
if: matrix.target_arch == 'x86_64'
95-
uses: codecov/codecov-action@v3
88+
uses: codecov/codecov-action@v4
9689

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

143136
- name: Upload coverage
144-
uses: codecov/codecov-action@v3
137+
uses: codecov/codecov-action@v4
145138

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

0 commit comments

Comments
 (0)