Refactor benchmark execution and reporting scripts #22
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 gnuplot for report generation | |
| run: sudo apt-get update && sudo apt-get install -y gnuplot | |
| - name: Run smoketest benchmarks | |
| run: ./run.sh smoketest | |
| - name: Generate benchmark report | |
| run: ./report.sh | |
| - name: Upload benchmark results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: benchmark-smoketest-results | |
| path: target/benchmark/ | |
| retention-days: 7 |