mirror of
https://github.com/zeldaret/st
synced 2026-08-23 15:12:15 -04:00
0d066f6447
* add usa * add eur revision 1 * tools/sha1: refactor to allow checking against multiple checksums * docs: edit both readme files * misc: add the new versions to configure.py and add new macros in versions.h * make eur1 OK * add `ninja [version]` phony for convenience for instance, `ninja eur` runs `check_eur sha1_eur report_eur` * add usa and eur1 to CI and bump version used for steps this should get rid of the node js warnings in the action logs
37 lines
828 B
YAML
37 lines
828 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
container: ghcr.io/zeldaret/ph-build:st
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version: [eur, jp, eur1, usa]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Prepare
|
|
run: |
|
|
mv /extract/* ./extract
|
|
|
|
- name: Build
|
|
run: |
|
|
python tools/configure.py -v ${{ matrix.version }} -w wibo --compiler /mwccarm --no-extract
|
|
ninja arm9_${{ matrix.version }} report_${{ matrix.version }} check_${{ matrix.version }}
|
|
|
|
- name: Upload report
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: ${{ matrix.version }}_report
|
|
path: build/${{ matrix.version }}/report.json
|