Tweak smoketest params and add version benchmark action #24
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: Maven Build | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| name: Java LTS Build and Verify | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build with Maven | |
| run: mvn -B verify | |
| - name: Install dependencies for report generation | |
| run: sudo apt-get update && sudo apt-get install -y gnuplot jq | |
| - name: Run library comparison smoketest | |
| run: ./run-libs.sh smoketest | |
| - name: Generate library comparison report | |
| run: ./report-libs.sh | |
| - name: Run version regression smoketest | |
| run: ./run-vers.sh smoketest | |
| - name: Generate version regression report | |
| run: ./report-vers.sh | |
| - name: Upload all benchmark results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: benchmark-results | |
| path: target/benchmark/ | |
| retention-days: 7 |