summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..427a94e2
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,30 @@
+name: Build
+
+on:
+ push:
+ pull_request:
+
+jobs:
+ build:
+ container: ghcr.io/aetiashax/ph-build:main
+
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ version: [eur, usa]
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Build
+ run: |
+ python tools/configure.py ${{ matrix.version }} -w wibo --compiler /mwccarm
+ ninja arm9 report check
+
+ - name: Upload report
+ uses: actions/upload-artifact@v4
+ with:
+ name: ${{ matrix.version }}_report
+ path: build/${{ matrix.version }}/report.json