Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading