mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2026-10-12 02:15:13 +00:00
Agent-Logs-Url: https://github.com/grumpycoders/pcsx-redux/sessions/5796c515-8274-4fb0-8fc4-4e0ca6a3ac07 Co-authored-by: nicolasnoble <[email protected]>
31 lines
913 B
YAML
31 lines
913 B
YAML
name: Linux CI toolchain
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
toolchain:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
set-safe-directory: true
|
|
- 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/* src/mips/psyqo-paths/examples/* src/mips/psyqo-lua/examples/*; do if [ -d "$d" ]; then make -C "$d" -j 6 all TEST=true; fi; done
|