Compare commits

...
3 changed files with 89 additions and 1 deletions

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
name: Compatibility Test
description: Enter a Minecraft world with a build artifact and require a CSL log (Linux runner).
inputs:
artifact-name:
description: Build artifact containing the Universal jar
required: true
minecraft:
description: Minecraft version
required: true
modloader:
description: Loader to install (forge, fabric, neoforge)
required: true
java:
description: Java version for the game
required: true
runs:
using: composite
steps:
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ inputs.java }}
- uses: actions/download-artifact@v8
with:
name: ${{ inputs.artifact-name }}
path: run/mods
- uses: headlesshq/[email protected]
env:
LIBGL_ALWAYS_SOFTWARE: 'true'
with:
mc: ${{ inputs.minecraft }}
modloader: ${{ inputs.modloader }}
regex: .*${{ inputs.modloader }}.*
java: ${{ inputs.java }}
mc-runtime-test: ${{ inputs.modloader == 'forge' && 'lexforge' || inputs.modloader }}
dummy-assets: 'false'
headlessmc-command: '--jvm "-Djava.awt.headless=true -DMcRuntimeGameTest=false"'
- name: Upload CSL log
if: always()
uses: actions/upload-artifact@v7
with:
name: CustomSkinLoader-Log-${{ inputs.minecraft }}-${{ inputs.modloader }}-Java${{ inputs.java }}-${{ github.job }}-${{ github.run_number }}
path: run/CustomSkinLoader/CustomSkinLoader.log
if-no-files-found: error
+39
View File
@@ -1,9 +1,15 @@
name: Pull Request
on:
push:
branches: [ci/minecraft-smoke]
pull_request:
types: [opened, synchronize, reopened]
branches: [15-develop]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
@@ -14,3 +20,36 @@ jobs:
- uses: ./.github/actions/build
with:
artifact-name: CustomSkinLoader-PR-${{ github.run_number }}
compatibility:
name: Compatibility Test (${{ matrix.minecraft }}, ${{ matrix.modloader }}, Java ${{ matrix.java }})
needs: build
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
max-parallel: 4
matrix:
include:
- { minecraft: '1.12.2', modloader: forge, java: '8' }
- { minecraft: '1.16.5', modloader: forge, java: '8' }
- { minecraft: '1.16.5', modloader: fabric, java: '8' }
- { minecraft: '1.18.2', modloader: forge, java: '17' }
- { minecraft: '1.20.2', modloader: forge, java: '17' }
- { minecraft: '1.20.2', modloader: fabric, java: '17' }
- { minecraft: '1.20.4', modloader: forge, java: '17' }
- { minecraft: '1.21.1', modloader: neoforge, java: '21' }
- { minecraft: '1.21.4', modloader: fabric, java: '21' }
- { minecraft: '1.21.10', modloader: neoforge, java: '21' }
- { minecraft: '1.21.11', modloader: fabric, java: '21' }
- { minecraft: '26.1.2', modloader: fabric, java: '25' }
- { minecraft: '26.2', modloader: fabric, java: '25' }
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/compatibility
with:
artifact-name: CustomSkinLoader-PR-${{ github.run_number }}
minecraft: ${{ matrix.minecraft }}
modloader: ${{ matrix.modloader }}
java: ${{ matrix.java }}
+1 -1
View File
@@ -146,7 +146,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
### Major Contributor
- 2013-2014 Jeremy Lam ([JLChnToZ](https://github.com/JLChnToZ))
- 2014-2024 Alexander Xia ([xfl03](https://github.com/xfl03))
- 2014-2026 [xfl03](https://github.com/xfl03)
- 2020-2026 [ZekerZhayard](https://github.com/ZekerZhayard)
### Binary File