4 Commits
Author SHA1 Message Date
str1k3r a00c0c63eb fix: workflows again 2026-08-01 03:10:18 -04:00
str1k3r 85eaa6d97e fix: platform workflow names 2026-08-01 02:18:07 -04:00
str1k3r 8ce8b1ebfb feat: platform testing workflows 2026-08-01 02:12:43 -04:00
pieeebot c8d404f7a4 fix: Xbox 360 build issues (#18)
Reviewed-on: pieeebot/cafeberry#18
2026-07-31 22:54:53 +00:00
5 changed files with 215 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
name: Build Orbis
on:
workflow_dispatch:
inputs:
configuration:
description: 'Configuration for the build (e.g. Debug, Release).'
required: true
default: 'Release'
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
platform: [ORBIS]
steps:
- name: Checkout Repository
uses: https://github.com/actions/checkout@v4
- name: Build Cafeberry
run: |
& "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln `
/p:Configuration=${{ inputs.configuration }} `
/p:Platform=${{ matrix.platform }} `
/m
- name: Zip Build (Consoles)
if: matrix.platform != 'Windows64'
run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj"
- name: Stage artifacts
run: |
New-Item -ItemType Directory -Force -Path staging
Copy-Item LCE${{ matrix.platform }}.zip staging/
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
name: build-${{ matrix.platform }}
path: staging/*
+43
View File
@@ -0,0 +1,43 @@
name: Build PS3
on:
workflow_dispatch:
inputs:
configuration:
description: 'Configuration for the build (e.g. Debug, Release).'
required: true
default: 'Release'
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
platform: [PS3]
steps:
- name: Checkout Repository
uses: https://github.com/actions/checkout@v4
- name: Build Cafeberry
run: |
& "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln `
/p:Configuration=${{ inputs.configuration }} `
/p:Platform=${{ matrix.platform }} `
/m
- name: Zip Build (Consoles)
if: matrix.platform != 'Windows64'
run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj"
- name: Stage artifacts
run: |
New-Item -ItemType Directory -Force -Path staging
Copy-Item LCE${{ matrix.platform }}.zip staging/
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
name: build-${{ matrix.platform }}
path: staging/*
+43
View File
@@ -0,0 +1,43 @@
name: Build PSVita
on:
workflow_dispatch:
inputs:
configuration:
description: 'Configuration for the build (e.g. Debug, Release).'
required: true
default: 'Release'
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
platform: [PSVita]
steps:
- name: Checkout Repository
uses: https://github.com/actions/checkout@v4
- name: Build Cafeberry
run: |
& "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln `
/p:Configuration=${{ inputs.configuration }} `
/p:Platform=${{ matrix.platform }} `
/m
- name: Zip Build (Consoles)
if: matrix.platform != 'Windows64'
run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj"
- name: Stage artifacts
run: |
New-Item -ItemType Directory -Force -Path staging
Copy-Item LCE${{ matrix.platform }}.zip staging/
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
name: build-${{ matrix.platform }}
path: staging/*
+43
View File
@@ -0,0 +1,43 @@
name: Build Windows64
on:
workflow_dispatch:
inputs:
configuration:
description: 'Configuration for the build (e.g. Debug, Release).'
required: true
default: 'Release'
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
platform: [Windows64]
steps:
- name: Checkout Repository
uses: https://github.com/actions/checkout@v4
- name: Build Cafeberry
run: |
& "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln `
/p:Configuration=${{ inputs.configuration }} `
/p:Platform=${{ matrix.platform }} `
/m
- name: Zip Build (Consoles)
if: matrix.platform != 'Windows64'
run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj"
- name: Stage artifacts
run: |
New-Item -ItemType Directory -Force -Path staging
Copy-Item LCE${{ matrix.platform }}.zip staging/
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
name: build-${{ matrix.platform }}
path: staging/*
+43
View File
@@ -0,0 +1,43 @@
name: Build Xbox 360
on:
workflow_dispatch:
inputs:
configuration:
description: 'Configuration for the build (e.g. Debug, Release).'
required: true
default: 'Release'
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
platform: [Xbox 360]
steps:
- name: Checkout Repository
uses: https://github.com/actions/checkout@v4
- name: Build Cafeberry
run: |
& "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln `
/p:Configuration=${{ inputs.configuration }} `
/p:Platform=${{ matrix.platform }} `
/m
- name: Zip Build (Consoles)
if: matrix.platform != 'Windows64'
run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj"
- name: Stage artifacts
run: |
New-Item -ItemType Directory -Force -Path staging
Copy-Item LCE${{ matrix.platform }}.zip staging/
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
name: build-${{ matrix.platform }}
path: staging/*