Skip to content

Fix Super Color 26-in-1 multicart protocol #912

Fix Super Color 26-in-1 multicart protocol

Fix Super Color 26-in-1 multicart protocol #912

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Java CI with Maven
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 21
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Headless CLI compatibility regression
run: mvn -B -pl cli -am -Dtest=HeadlessCliCompatibilityTest -Dsurefire.failIfNoSpecifiedTests=false test
env:
JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
DISPLAY: ""
- name: Headless CLI executable smoke test
run: java -Djava.awt.headless=true -jar cli/target/coffee-gb-cli.jar --version
env:
DISPLAY: ""
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
integration-tests:
name: Integration tests (${{ matrix.name }})
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: Mooneye
profiles: test-mooneye
- name: Blargg aggregate
profiles: test-blargg
- name: Blargg individual
profiles: test-blargg-individual
- name: Compatibility ROMs
profiles: test-daid,test-bullygb,test-mbc30,test-rtc3,test-samesuite
- name: Gambatte HWTests
profiles: test-gambatte-hw
- name: Acid2
profiles: test-dmgacid2,test-cgbacid2
- name: CGB-ACID-HELL
profiles: test-cgbacidhell
- name: Strikethrough
profiles: test-strikethrough
- name: CasualPokePlayer
profiles: test-casualpokeplayer
- name: Mealybug Tearoom
profiles: test-mealybug
- name: GBMicrotest
profiles: test-gbmicrotest
- name: Misc.-GB-Tests
profiles: test-misc-gb
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 21
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run integration tests
run: mvn -B -pl core test -P"${{ matrix.profiles }}"
gbc-hw-tests:
name: gbc-hw-tests (shard ${{ matrix.shard }}/2)
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1, 2]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 21
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run gbc-hw-tests shard
run: mvn -B -pl core test -Ptest-gbc-hw -Dgbc.hw.shard=${{ matrix.shard }}/2