[WIP] GCC Building + libhackerultra (#17)

Co-authored-by: a <a>
This commit is contained in:
bicyclesoda
2025-06-19 21:25:47 -04:00
committed by GitHub
parent 3ac9688312
commit 13313f3e31
1046 changed files with 71764 additions and 40860 deletions

View File

@@ -0,0 +1,35 @@
# CI file for GCC builds
name: Build GCC libgultra
# Build on every branch push, tag push, and pull request change:
on: [push, pull_request_target]
jobs:
build_repo:
name: Build repo
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [L] # [H, I, I_patch, J, K, L]
suffix: [~, _d, _rom]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install package requirements
run: sudo apt-get install -y clang-tools clang-format clang-tidy gcc-mips-linux-gnu binutils-mips-linux-gnu build-essential python3
- name: Verify formatting on all files
run: python3 tools/check_format.py --verbose
- name: Setup
run: make setup -j $(nproc) TARGET=libgultra${{ matrix.suffix }} VERSION=${{ matrix.version }}
- name: Build libgultra${{ matrix.suffix }} ${{ matrix.version }}
run: make -j $(nproc) TARGET=libgultra${{ matrix.suffix }} VERSION=${{ matrix.version }}