Skip to content

Commit b492d35

Browse files
committed
toolchain-only option
1 parent 168d12a commit b492d35

3 files changed

Lines changed: 19 additions & 0 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
4747
- name: Runs all the stages in the shell
4848
if: matrix.os == 'ubuntu-latest'
49+
shell: bash -e {0}
50+
env:
51+
BUILD_PS3TOOLCHAIN_ONLY: 1
4952
run: |
5053
mkdir $PWD/ps3dev
5154
export PS3DEV=$PWD/ps3dev
@@ -58,6 +61,8 @@ jobs:
5861
- name: Runs all the stages in the shell
5962
if: matrix.os == 'macos-15-intel'
6063
shell: arch -x86_64 bash -e {0}
64+
env:
65+
BUILD_PS3TOOLCHAIN_ONLY: 1
6166
run: |
6267
mkdir $PWD/ps3dev
6368
export PS3DEV=$PWD/ps3dev
@@ -70,6 +75,8 @@ jobs:
7075
- name: Runs all the stages in the shell
7176
if: matrix.os == 'macos-26'
7277
shell: bash -e {0}
78+
env:
79+
BUILD_PS3TOOLCHAIN_ONLY: 1
7380
run: |
7481
mkdir $PWD/ps3dev
7582
export PS3DEV=$PWD/ps3dev

‎scripts/008-psl1ght.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/sh -e
22
# psl1ght.sh by Naomi Peori (naomi@peori.ca)
33

4+
## Check if we want to skip this step
5+
if [[ -n "$BUILD_PS3TOOLCHAIN_ONLY" ]]; then
6+
echo "PS3 Toolchain only set. Skipping..."
7+
exit 0
8+
fi
9+
410
## Download the source code.
511
wget --no-check-certificate https://github.com/ps3dev/PSL1GHT/tarball/master -O psl1ght.tar.gz
612

‎scripts/009-ps3libraries.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/sh -e
22
# ps3libraries.sh by Naomi Peori (naomi@peori.ca)
33

4+
## Check if we want to skip this step
5+
if [[ -n "$BUILD_PS3TOOLCHAIN_ONLY" ]]; then
6+
echo "PS3 Toolchain only set. Skipping..."
7+
exit 0
8+
fi
9+
410
## Download the source code.
511
wget --no-check-certificate https://github.com/ps3dev/ps3libraries/tarball/master -O ps3libraries.tar.gz
612

0 commit comments

Comments
 (0)