mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2025-04-02 10:41:54 -04:00
29 lines
841 B
YAML
29 lines
841 B
YAML
name: Linux CI toolchain
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
toolchain:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
set-safe-directory: true
|
|
- uses: n1hility/cancel-previous-runs@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Update packages registry
|
|
run: sudo apt-get update
|
|
- name: Install pre-reqs
|
|
run: sudo apt-get install -y libgmp-dev libmpfr-dev libmpc-dev
|
|
- name: Build toolchains
|
|
run: sudo bash tools/linux-mips/spawn-compiler.sh
|
|
- name: Build OpenBIOS with it
|
|
run: make -C src/mips/openbios -j 6 all
|
|
- name: Build psyqo examples with it
|
|
run: for d in src/mips/psyqo/examples/* ; do make -C $d -j 6 all TEST=true ; done
|