Release libblosc2-native jar version 2.23.1.0 #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'native-compression/libblosc2-jna/**' | |
| - 'native-compression/libblosc2-native/**' | |
| - 'test-native-compression-blosc2.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| strategy: | |
| matrix: | |
| os: [ | |
| ubuntu-24.04, | |
| ubuntu-24.04-arm, | |
| windows-2022, | |
| macos-14, | |
| macos-15, | |
| macos-15-intel | |
| ] | |
| name: netCDF-Java Native Compression Tests (blosc2) | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup JDK 8, 17 | |
| if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'macos-15-intel' }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: | | |
| 8 | |
| 17 | |
| - name: Setup JDK 21 | |
| if: ${{ matrix.os != 'ubuntu-24.04' && matrix.os != 'macos-15-intel' }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Cache Gradle packages | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Run libblosc2 JNA tests | |
| if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'macos-15-intel' }} | |
| run: ./gradlew -Dorg.gradle.java.installations.auto-detect=true clean :libblosc2-jna:test | |
| env: | |
| JDK8: /usr/thredds-test-environment/temurin8 | |
| - name: Run libblosc2 JNA tests (JDK 21 tests) | |
| if: ${{ matrix.os != 'ubuntu-24.04' && matrix.os != 'macos-15-intel' }} | |
| run: ./gradlew clean :libblosc2-jna:test21 | |
| - uses: actions/upload-artifact@v6 | |
| if: failure() | |
| with: | |
| name: NativeCompression_JUnit_Results_${{ github.sha }}_-${{ matrix.os }} | |
| path: native-compression/libblosc2-jna/build/reports/tests |