mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
PS1 workflow
This commit is contained in:
parent
cbaf9a8386
commit
9db8b20f08
2 changed files with 65 additions and 1 deletions
64
.github/workflows/build_ps1.yml
vendored
Normal file
64
.github/workflows/build_ps1.yml
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
name: Build latest (PS1)
|
||||
on: [push]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}-ps1
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-PS1:
|
||||
if: github.ref_name == github.event.repository.default_branch
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/classicube/minimal-psn00b:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Compile PS3 build
|
||||
id: compile
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y curl
|
||||
export PSNOOB=/usr/local/psnoob
|
||||
export PSL1GHT=/usr/local/ps3dev
|
||||
export PATH=$PATH:$PSNOOB/bin
|
||||
export PSN00BSDK_LIBS=$PSNOOB/lib/libpsn00b
|
||||
make ps1
|
||||
|
||||
|
||||
- uses: ./.github/actions/notify_failure
|
||||
if: ${{ always() && steps.compile.outcome == 'failure' }}
|
||||
with:
|
||||
NOTIFY_MESSAGE: 'Failed to compile PS1 build'
|
||||
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
|
||||
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'misc/ps1/build/template.elf'
|
||||
DEST_NAME: 'ClassiCube-PS1.elf'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'misc/ps1/build/template.exe'
|
||||
DEST_NAME: 'ClassiCube-PS1.exe'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'misc/ps1/build/template.bin'
|
||||
DEST_NAME: 'ClassiCube-PS1.bin'
|
||||
|
||||
- uses: ./.github/actions/upload_build
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
SOURCE_FILE: 'misc/ps1/build/template.cue'
|
||||
DEST_NAME: 'ClassiCube-PS1.cue'
|
||||
|
||||
|
||||
- uses: ./.github/actions/notify_success
|
||||
if: ${{ always() && steps.compile.outcome == 'success' }}
|
||||
with:
|
||||
DESTINATION_URL: '${{ secrets.NOTIFY_URL }}'
|
||||
WORKFLOW_NAME: 'ps1'
|
2
third_party/gldc/src/sh4.c
vendored
2
third_party/gldc/src/sh4.c
vendored
|
@ -449,7 +449,7 @@ void SceneListSubmit(Vertex* v3, int n) {
|
|||
*PVR_LMMODE1 = 0;
|
||||
|
||||
//Set QACR registers
|
||||
QACR[1] = QACR[0] = 0x11;
|
||||
QACR[1] = QACR[0] = 0x10;
|
||||
|
||||
#if CLIP_DEBUG
|
||||
Vertex* vertex = (Vertex*) src;
|
||||
|
|
Loading…
Reference in a new issue