forked from h4570/tyra
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
356 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Official build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
container: h4570/tyra | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
apt-get update | ||
apt install -y git make wget | ||
- name: Set git safe directory | ||
run: | | ||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Compile engine | ||
run: | | ||
make clean all -C engine | ||
- name: Compile tutorials | ||
run: | | ||
make clean all -C tutorials/01-hello | ||
make clean all -C tutorials/02-sprite | ||
make clean all -C tutorials/03-minecraft | ||
make clean all -C tutorials/04-de_dust2 | ||
make clean all -C tutorials/05-animation | ||
make clean all -C tutorials/06-audio | ||
make clean all -C tutorials/07-lighting | ||
make clean all -C tutorials/08-skybox-debug | ||
make clean all -C tutorials/09-manual-mode | ||
make clean all -C tutorials/10-sprite-sheet | ||
- name: Compile demo | ||
run: | | ||
make clean all -C demo | ||
- name: Upload tutorials | ||
if: ${{ success() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: tutorials-elf | ||
path: | | ||
tutorials/01-hello/bin | ||
tutorials/02-sprite/bin | ||
tutorials/03-minecraft/bin | ||
tutorials/04-de_dust2/bin | ||
tutorials/05-animation/bin | ||
tutorials/06-audio/bin | ||
tutorials/07-lighting/bin | ||
tutorials/08-skybox-debug/bin | ||
tutorials/09-manual-mode/bin | ||
tutorials/10-sprite-sheet/bin | ||
- name: Upload demo | ||
if: ${{ success() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: demo-elf | ||
path: | | ||
demo/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: PR build check | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
container: h4570/tyra | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
apt-get update | ||
apt install -y git make wget | ||
- name: Set git safe directory | ||
run: | | ||
git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Compile engine | ||
run: | | ||
make clean all -C engine | ||
- name: Compile tutorials | ||
run: | | ||
make clean all -C tutorials/01-hello | ||
make clean all -C tutorials/02-sprite | ||
make clean all -C tutorials/03-minecraft | ||
make clean all -C tutorials/04-de_dust2 | ||
make clean all -C tutorials/05-animation | ||
make clean all -C tutorials/06-audio | ||
make clean all -C tutorials/07-lighting | ||
make clean all -C tutorials/08-skybox-debug | ||
make clean all -C tutorials/09-manual-mode | ||
make clean all -C tutorials/10-sprite-sheet | ||
- name: Compile demo | ||
run: | | ||
make clean all -C demo | ||
- name: Get short SHA | ||
id: slug | ||
run: | | ||
echo "SHA8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV | ||
- name: Get branch | ||
id: branch | ||
run: | | ||
BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/refs\///g' | sed 's/\//_/g') | ||
echo "BRANCH=${BRANCH_NAME}" >> $GITHUB_ENV | ||
- name: Upload build artifacts | ||
if: ${{ success() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: binaries-${{ env.SHA8 }}-${{ env.BRANCH }} | ||
path: | | ||
tutorials/01-hello/bin | ||
tutorials/02-sprite/bin | ||
tutorials/03-minecraft/bin | ||
tutorials/04-de_dust2/bin | ||
tutorials/05-animation/bin | ||
tutorials/06-audio/bin | ||
tutorials/07-lighting/bin | ||
tutorials/08-skybox-debug/bin | ||
tutorials/09-manual-mode/bin | ||
tutorials/10-sprite-sheet/bin | ||
demo/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
/c_cpp_properties.json | ||
/tasks.json | ||
/settings.json | ||
ps2dev-intellisense/ | ||
/ps2dev-intellisense |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,5 @@ class TextureBuilderData { | |
TextureBpp clutBpp; | ||
unsigned char clutGsComponents; | ||
}; | ||
|
||
} // namespace Tyra |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$PS2SDK/iop/irx/fileXio.irx | ||
fileXio_irx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$PS2SDK/iop/irx/iomanX.irx | ||
iomanX_irx |
Oops, something went wrong.