Maven verification #214
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 verification | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - ced-commons-math-swimmer | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out CED | |
| uses: actions/checkout@v6 | |
| with: | |
| path: bCNU | |
| - name: Check out experimental Commons Math swimmer | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: JeffersonLab/coatjava | |
| ref: CLAS12Swim-commons-math | |
| path: coatjava | |
| - name: Check out MDI | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: heddle/mdi | |
| ref: develop | |
| path: mdi | |
| - name: Set up Java 21 and Maven cache | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| cache: maven | |
| cache-dependency-path: | | |
| bCNU/pom.xml | |
| bCNU/bCNU/pom.xml | |
| bCNU/bCNU3D/pom.xml | |
| bCNU/ced/pom.xml | |
| coatjava/pom.xml | |
| mdi/pom.xml | |
| - name: Install MDI | |
| working-directory: mdi | |
| run: mvn --batch-mode -DskipTests install | |
| - name: Install CED Maven prerequisites | |
| working-directory: bCNU | |
| run: ./scripts/bootstrap-maven-dependencies.sh | |
| - name: Build and test CED | |
| working-directory: bCNU | |
| run: mvn --batch-mode clean test |