1010 build :
1111 runs-on : ${{ matrix.os }}
1212 strategy :
13+ fail-fast : false
1314 matrix :
14- os : [ubuntu-latest]
15+ os : [macos-15-intel, ubuntu-latest]
1516
1617 steps :
1718 - uses : actions/checkout@v6
2122 run : |
2223 sudo apt-get update
2324 sudo apt-get -y install autoconf automake bison flex gcc libelf-dev make texinfo libncurses5-dev patch python3 python-is-python3 subversion wget zlib1g-dev libtool-bin python3-dev bzip2 libgmp3-dev pkg-config
25+
26+ - name : Install macOS requirements
27+ if : matrix.os == 'macos-15-intel'
28+ shell : arch -x86_64 bash -e {0}
29+ env :
30+ HOMEBREW_NO_AUTO_UPDATE : 1
31+ HOMEBREW_NO_INSTALL_CLEANUP : 1
32+ HOMEBREW_NO_ENV_HINTS : 1
33+ run : |
34+ brew install autoconf automake openssl libelf ncurses zlib gmp wget pkg-config texinfo
35+
36+ - name : Runs all the stages in the shell
37+ if : matrix.os == 'ubuntu-latest'
38+ run : |
39+ mkdir $PWD/ps3dev
40+ export PS3DEV=$PWD/ps3dev
41+ export PSL1GHT=$PS3DEV
42+ export PATH=$PATH:$PS3DEV/bin
43+ export PATH=$PATH:$PS3DEV/ppu/bin
44+ export PATH=$PATH:$PS3DEV/spu/bin
45+ ./toolchain.sh
2446
2547 - name : Runs all the stages in the shell
48+ if : matrix.os == 'macos-15-intel'
49+ shell : arch -x86_64 bash -e {0}
2650 run : |
2751 mkdir $PWD/ps3dev
2852 export PS3DEV=$PWD/ps3dev
3458
3559 - name : Get short SHA
3660 id : slug
37- run : echo "::set-output name= sha8:: $(echo ${GITHUB_SHA} | cut -c1-8)"
61+ run : echo "sha8= $(echo ${GITHUB_SHA} | cut -c1-8)" >> "$GITHUB_OUTPUT "
3862
3963 - name : Compress ps3dev folder
4064 run : |
4367 - uses : actions/upload-artifact@v6
4468 with :
4569 name : ps3dev-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}
46- path : ps3dev.tar.gz
70+ path : ps3dev.tar.gz
0 commit comments