From b71f6c7008c86e84b7d1202fdda3433ff8afea16 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Fri, 14 Jun 2024 03:22:01 -0400 Subject: [PATCH] Test On RPI! --- .gitea/workflows/build.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 3b5817d7..c786655e 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - AMD64 - ARM64 - ARMHF - name: Build + name: Build (${{ matrix.mode }}, ${{ matrix.arch }}) runs-on: ubuntu-latest container: node:lts-bullseye steps: @@ -49,7 +49,7 @@ jobs: mode: - Client - Server - name: Test + name: Test (${{ matrix.mode }}) runs-on: ubuntu-latest container: node:lts-bullseye steps: @@ -63,6 +63,31 @@ jobs: # Test - name: Test run: ./scripts/test.sh ${{ matrix.mode }} + # Test Project On ARM + rpi-test: + strategy: + fail-fast: false + matrix: + mode: + - Client + - Server + arch: + - ARM64 + - ARMHF + name: Raspberry Pi Test (${{ matrix.mode }}, ${{ matrix.arch }}) + runs-on: raspberry-pi + container: node:lts-bullseye + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + submodules: true + # Dependencies + - name: Install Dependencies + run: ./scripts/install-dependencies.sh ${{ matrix.arch }} + # Test + - name: Test + run: ./scripts/test.sh ${{ matrix.mode }} # Example Mods example-mods: name: Build Example Mods