SIO0 overhaul #3601
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |