Update .github/workflows/integrations.yml
Server integrations / Paper and protocol tests (push) Failing after 52s
Server integrations / fabric / 1.20.1 (push) Failing after 48s
Server integrations / fabric / 1.21.1 (push) Failing after 43s
Server integrations / fabric / 26.1.2 (push) Failing after 41s
Server integrations / fabric / 26.2 (push) Failing after 45s
Server integrations / fabric / 26.3 (push) Failing after 45s
Server integrations / forge / 1.20.1 (push) Failing after 49s
Server integrations / forge / 1.21.1 (push) Failing after 50s
Server integrations / forge / 26.1.2 (push) Failing after 45s
Server integrations / forge / 26.2 (push) Failing after 45s
Server integrations / forge / 26.3 (push) Failing after 40s
CI / Web UIs (type-check + build) (launcher) (push) Successful in 1m55s
CI / Web UIs (type-check + build) (panel/web) (push) Successful in 2m44s
CI / Launcher (Windows build check) (push) Failing after 26s
CI / Real installs (Mojang, Fabric, Quilt, Forge, NeoForge) (push) Successful in 23m8s
CI / Rust (fmt, clippy, tests) (push) Failing after 36m26s
CI / Docker image builds (push) Canceled after 31m51s
Server integrations / Paper and protocol tests (push) Failing after 52s
Server integrations / fabric / 1.20.1 (push) Failing after 48s
Server integrations / fabric / 1.21.1 (push) Failing after 43s
Server integrations / fabric / 26.1.2 (push) Failing after 41s
Server integrations / fabric / 26.2 (push) Failing after 45s
Server integrations / fabric / 26.3 (push) Failing after 45s
Server integrations / forge / 1.20.1 (push) Failing after 49s
Server integrations / forge / 1.21.1 (push) Failing after 50s
Server integrations / forge / 26.1.2 (push) Failing after 45s
Server integrations / forge / 26.2 (push) Failing after 45s
Server integrations / forge / 26.3 (push) Failing after 40s
CI / Web UIs (type-check + build) (launcher) (push) Successful in 1m55s
CI / Web UIs (type-check + build) (panel/web) (push) Successful in 2m44s
CI / Launcher (Windows build check) (push) Failing after 26s
CI / Real installs (Mojang, Fabric, Quilt, Forge, NeoForge) (push) Successful in 23m8s
CI / Rust (fmt, clippy, tests) (push) Failing after 36m26s
CI / Docker image builds (push) Canceled after 31m51s
This commit is contained in:
1 parent
60edc99780
commit
d72d7c2e80
1 file changed
+93
-26
@@ -3,10 +3,17 @@ name: Server integrations
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ['**']
|
branches: ['**']
|
||||||
paths: ['integrations/**', '.github/workflows/integrations.yml']
|
paths:
|
||||||
|
- 'integrations/**'
|
||||||
|
- '.github/workflows/integrations.yml'
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
paths: ['integrations/**', '.github/workflows/integrations.yml']
|
paths:
|
||||||
|
- 'integrations/**'
|
||||||
|
- '.github/workflows/integrations.yml'
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
@@ -20,23 +27,41 @@ jobs:
|
|||||||
paper:
|
paper:
|
||||||
name: Paper and protocol tests
|
name: Paper and protocol tests
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- name: Checkout repository
|
||||||
- uses: actions/setup-java@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Setup Java 21
|
||||||
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
- uses: gradle/actions/setup-gradle@v4
|
|
||||||
with:
|
- name: Install Gradle 8.10.2
|
||||||
gradle-version: '8.10.2'
|
run: |
|
||||||
- run: gradle -p integrations :common:test :paper:build -PreleaseVersion="${{ inputs.version || '0.4.0' }}"
|
curl -s "https://get.sdkman.io" | bash
|
||||||
- uses: actions/upload-artifact@v4
|
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
|
sdk install gradle 8.10.2
|
||||||
|
gradle --version
|
||||||
|
|
||||||
|
- name: Build Paper plugin and run tests
|
||||||
|
run: |
|
||||||
|
gradle -p integrations \
|
||||||
|
:common:test \
|
||||||
|
:paper:build \
|
||||||
|
-PreleaseVersion="${{ inputs.version || '0.4.0' }}"
|
||||||
|
|
||||||
|
- name: Upload Paper JAR
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: server-paper
|
name: server-paper
|
||||||
path: integrations/paper/build/libs/scopenet-paper-*.jar
|
path: integrations/paper/build/libs/scopenet-paper-*.jar
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
|
- name: Upload integration test reports
|
||||||
if: failure()
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: integration-test-reports
|
name: integration-test-reports
|
||||||
path: integrations/common/build/reports/tests/
|
path: integrations/common/build/reports/tests/
|
||||||
@@ -44,31 +69,73 @@ jobs:
|
|||||||
mods:
|
mods:
|
||||||
name: ${{ matrix.loader }} / ${{ matrix.mc.version }}
|
name: ${{ matrix.loader }} / ${{ matrix.mc.version }}
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
loader: [fabric, forge]
|
loader:
|
||||||
|
- fabric
|
||||||
|
- forge
|
||||||
|
|
||||||
mc:
|
mc:
|
||||||
- { version: '1.20.1', java: '21', gradle: '8.10.2' }
|
- version: '1.20.1'
|
||||||
- { version: '1.21.1', java: '21', gradle: '8.10.2' }
|
java: '21'
|
||||||
- { version: '26.1.2', java: '25', gradle: '9.6.0' }
|
gradle: '8.10.2'
|
||||||
- { version: '26.2', java: '25', gradle: '9.6.0' }
|
|
||||||
- { version: '26.3', java: '25', gradle: '9.6.0' }
|
- version: '1.21.1'
|
||||||
|
java: '21'
|
||||||
|
gradle: '8.10.2'
|
||||||
|
|
||||||
|
- version: '26.1.2'
|
||||||
|
java: '25'
|
||||||
|
gradle: '9.6.0'
|
||||||
|
|
||||||
|
- version: '26.2'
|
||||||
|
java: '25'
|
||||||
|
gradle: '9.6.0'
|
||||||
|
|
||||||
|
- version: '26.3'
|
||||||
|
java: '25'
|
||||||
|
gradle: '9.6.0'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- name: Checkout repository
|
||||||
- uses: actions/setup-java@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: ${{ matrix.mc.java }}
|
java-version: ${{ matrix.mc.java }}
|
||||||
- uses: gradle/actions/setup-gradle@v4
|
|
||||||
with:
|
- name: Install Gradle
|
||||||
gradle-version: ${{ matrix.mc.gradle }}
|
run: |
|
||||||
- run: gradle -p integrations -Ploader=${{ matrix.loader }} -PmcVersion=${{ matrix.mc.version }} -PreleaseVersion="${{ inputs.version || '0.4.0' }}" :${{ matrix.loader }}:build
|
curl -s "https://get.sdkman.io" | bash
|
||||||
- name: Audit Fabric hooks during server bootstrap (no world startup)
|
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
|
sdk install gradle ${{ matrix.mc.gradle }}
|
||||||
|
gradle --version
|
||||||
|
|
||||||
|
- name: Build ${{ matrix.loader }} ${{ matrix.mc.version }}
|
||||||
|
run: |
|
||||||
|
gradle -p integrations \
|
||||||
|
-Ploader=${{ matrix.loader }} \
|
||||||
|
-PmcVersion=${{ matrix.mc.version }} \
|
||||||
|
-PreleaseVersion="${{ inputs.version || '0.4.0' }}" \
|
||||||
|
:${{ matrix.loader }}:build
|
||||||
|
|
||||||
|
- name: Audit Fabric hooks during server bootstrap
|
||||||
if: matrix.loader == 'fabric'
|
if: matrix.loader == 'fabric'
|
||||||
run: gradle -p integrations -Ploader=fabric -PmcVersion=${{ matrix.mc.version }} -PreleaseVersion="${{ inputs.version || '0.4.0' }}" -PverifyMixins=true :fabric:runServer
|
run: |
|
||||||
- uses: actions/upload-artifact@v4
|
gradle -p integrations \
|
||||||
|
-Ploader=fabric \
|
||||||
|
-PmcVersion=${{ matrix.mc.version }} \
|
||||||
|
-PreleaseVersion="${{ inputs.version || '0.4.0' }}" \
|
||||||
|
-PverifyMixins=true \
|
||||||
|
:fabric:runServer
|
||||||
|
|
||||||
|
- name: Upload Mod JAR
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: server-${{ matrix.loader }}-${{ matrix.mc.version }}
|
name: server-${{ matrix.loader }}-${{ matrix.mc.version }}
|
||||||
path: integrations/${{ matrix.loader }}/build/libs/scopenet-${{ matrix.loader }}-${{ matrix.mc.version }}-*.jar
|
path: integrations/${{ matrix.loader }}/build/libs/scopenet-${{ matrix.loader }}-${{ matrix.mc.version }}-*.jar
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
Reference in new issue
Block a user