Modern GCC #223
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
# CI file for GCC/KMC 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: [I, J, K, 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 binutils-mips-linux-gnu build-essential python3 | |
- name: Get extra dependencies | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ secrets.SECRETREPO }} | |
token: ${{ secrets.SECRETTOKEN }} | |
path: deps_repo | |
- name: Get the dependency | |
run: cp deps_repo/libultra/${{ matrix.version }}/* base/${{ matrix.version }} | |
- 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 }} |