Merge pull request #448 from apache/java17 #53
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
| name: Java SerDe Compatibility Test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: SerDe Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Checkout Java | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: apache/datasketches-java | |
| path: java | |
| - name: Setup Java | |
| uses: actions/setup-java@v2 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Run Java | |
| run: cd java && mvn test -P generate-java-files | |
| - name: Copy files | |
| run: cp java/serialization_test_data/java_generated_files/*.sk java | |
| - name: Run cmake | |
| run: cd build && cmake .. -DSERDE_COMPAT=true | |
| - name: Build C++ unit tests | |
| run: cmake --build build --config Release | |
| - name: Run C++ tests | |
| run: cmake --build build --config Release --target test |