Fix 1231 #1355
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
| # This workflow will build a Java project with Maven | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
| name: Java CI with Maven | |
| on: [push, pull_request] | |
| jobs: | |
| test-ibex: | |
| runs-on: ubuntu-latest | |
| # The different steps | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| # Install Ibex | |
| - name: Install ibex | |
| run: | | |
| sh scripts/install-ibex.sh | |
| # Regression tests | |
| - name: Test Ibex | |
| run: | | |
| export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/ibex/3rd | |
| mvn --file pom.xml test -Pcoverage -DtestFailureIgnore=true -Dgroups=ibex | |
| test-solver: | |
| runs-on: ubuntu-latest | |
| # Tests matrix | |
| strategy: | |
| #fail-fast: false | |
| matrix: | |
| group: [ "1s", "10s", "checker", "lcg" ] | |
| # The different steps | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| # Regression tests | |
| - name: Test ${{ matrix.group }} | |
| run: mvn --file pom.xml test -Pcoverage -DtestFailureIgnore=true -Dgroups=${{ matrix.group }} | |
| test-parser: | |
| needs: [ test-solver ] | |
| runs-on: ubuntu-latest | |
| # Tests matrix | |
| strategy: | |
| #fail-fast: false | |
| matrix: | |
| group: [ "xcsp", "dimacs", "mps" ] | |
| # The different steps | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| # Regression tests | |
| - name: Test ${{ matrix.group }} | |
| run: mvn --file pom.xml test -Pcoverage -DtestFailureIgnore=true -Dgroups=${{ matrix.group }} | |
| test-mzn: | |
| needs: [ test-solver ] | |
| runs-on: ubuntu-latest | |
| # Tests matrix | |
| strategy: | |
| #fail-fast: false | |
| matrix: | |
| group: [ "mzn" ] | |
| # The different steps | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| # Regression tests | |
| - name: Test ${{ matrix.group }} | |
| run: mvn --file pom.xml test -Pcoverage -DtestFailureIgnore=true -Dgroups=${{ matrix.group }} |