mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-26 01:04:23 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7456725158 | ||
|
|
8023f4d1ea | ||
|
|
54339f9e66 | ||
|
|
3abba80b3b | ||
|
|
a7b64a1645 | ||
|
|
56c7e9196d |
No files matched your search
@@ -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
|
||||||
@@ -1,9 +1,15 @@
|
|||||||
name: Pull Request
|
name: Pull Request
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ci/minecraft-smoke]
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
branches: [15-develop]
|
branches: [15-develop]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
@@ -14,3 +20,36 @@ jobs:
|
|||||||
- uses: ./.github/actions/build
|
- uses: ./.github/actions/build
|
||||||
with:
|
with:
|
||||||
artifact-name: CustomSkinLoader-PR-${{ github.run_number }}
|
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 }}
|
||||||
@@ -146,7 +146,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|||||||
### Major Contributor
|
### Major Contributor
|
||||||
|
|
||||||
- 2013-2014 Jeremy Lam ([JLChnToZ](https://github.com/JLChnToZ))
|
- 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)
|
- 2020-2026 [ZekerZhayard](https://github.com/ZekerZhayard)
|
||||||
|
|
||||||
### Binary File
|
### Binary File
|
||||||
|
|||||||
Reference in new issue
Block a user