File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+ repository_dispatch :
7+ types : [run_build]
8+
9+ jobs :
10+ build :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ # os: [macos-latest, ubuntu-latest]
15+ os : [ubuntu-latest]
16+
17+ steps :
18+ - uses : actions/checkout@v6
19+
20+ - name : Install Ubuntu requirements
21+ if : matrix.os == 'ubuntu-latest'
22+ run : |
23+ sudo apt-get update
24+ 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-latest'
28+ run : |
29+ brew update
30+ brew install autoconf automake openssl libelf ncurses zlib gmp wget pkg-config texinfo
31+
32+ - name : Runs all the stages in the shell
33+ run : |
34+ mkdir $PWD/ps3dev
35+ export PS3DEV=$PWD/ps3dev
36+ export PSL1GHT=$PS3DEV
37+ export PATH=$PATH:$PS3DEV/bin
38+ export PATH=$PATH:$PS3DEV/ppu/bin
39+ export PATH=$PATH:$PS3DEV/spu/bin
40+ ./toolchain.sh
41+
42+ - name : Get short SHA
43+ id : slug
44+ run : echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
45+
46+ - name : Compress ps3dev folder
47+ run : |
48+ tar -zcvf ps3dev.tar.gz ps3dev
49+
50+ - uses : actions/upload-artifact@v6
51+ with :
52+ name : ps3dev-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}
53+ path : ps3dev.tar.gz
You can’t perform that action at this time.
0 commit comments