mirror of
https://github.com/zeldaret/st
synced 2026-08-26 16:06:45 -04:00
Add support for USA revision 0 and Europe revision 1 versions (#136)
* 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
This commit is contained in:
@@ -12,11 +12,11 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
version: [eur, jp]
|
||||
version: [eur, jp, eur1, usa]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
ninja arm9_${{ matrix.version }} report_${{ matrix.version }} check_${{ matrix.version }}
|
||||
|
||||
- name: Upload report
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: ${{ matrix.version }}_report
|
||||
path: build/${{ matrix.version }}/report.json
|
||||
|
||||
@@ -9,10 +9,10 @@ jobs:
|
||||
name: Linting/style checks
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
uses: actions/setup-python@v7
|
||||
with:
|
||||
python-version: '3.13'
|
||||
check-latest: true
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
run: pip install pre-commit
|
||||
|
||||
- name: Cache pre-commit hooks
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
path: ~/.cache/pre-commit/
|
||||
# Invalidate the cache if the pre-commit config changes or the Python version changes
|
||||
|
||||
Reference in New Issue
Block a user