From 2e00ab12f38a28d23cbb1749200fb42880f929af Mon Sep 17 00:00:00 2001 From: Luben Karavelov Date: Wed, 3 Apr 2024 08:53:51 +0100 Subject: [PATCH] Enable tests on M1 MacOS --- .github/workflows/ci.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c977cd8..3d7fe3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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'}} @@ -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'}} @@ -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'}}