diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a95932b..60d9b30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,32 +25,6 @@ jobs: java-version: '21' cache: maven - # Nds4j is not on Maven Central at the version this module depends on, so it has to be - # built from source. Prefer a branch of the same name when one exists: a change that - # spans both repositories is developed on matching branches, and testing this module - # against a stale Nds4j would report a failure that does not exist (or hide a real one). - - name: Resolve Nds4j branch - id: nds4j - run: | - ref="${{ github.head_ref || github.ref_name }}" - if git ls-remote --exit-code --heads https://github.com/turtleisaac/Nds4j.git "$ref" >/dev/null 2>&1; then - echo "Building against matching Nds4j branch: $ref" - else - echo "No Nds4j branch named '$ref'; falling back to main" - ref=main - fi - echo "ref=$ref" >> "$GITHUB_OUTPUT" - - - name: Check out Nds4j - uses: actions/checkout@v4 - with: - repository: turtleisaac/Nds4j - ref: ${{ steps.nds4j.outputs.ref }} - path: .upstream/Nds4j - - - name: Install Nds4j - run: mvn -B -ntp -q install -DskipTests -f .upstream/Nds4j/pom.xml - - name: Build and test # Round-trip tests against real game data need a retail ROM, which cannot be committed. # They skip here and are run locally with -Drom.dir. Everything else runs.