Test On RPI!

This commit is contained in:
TheBrokenRail 2024-06-14 03:22:01 -04:00
parent 8bc90dae04
commit b71f6c7008

View File

@ -21,7 +21,7 @@ jobs:
- AMD64 - AMD64
- ARM64 - ARM64
- ARMHF - ARMHF
name: Build name: Build (${{ matrix.mode }}, ${{ matrix.arch }})
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:lts-bullseye container: node:lts-bullseye
steps: steps:
@ -49,7 +49,7 @@ jobs:
mode: mode:
- Client - Client
- Server - Server
name: Test name: Test (${{ matrix.mode }})
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:lts-bullseye container: node:lts-bullseye
steps: steps:
@ -63,6 +63,31 @@ jobs:
# Test # Test
- name: Test - name: Test
run: ./scripts/test.sh ${{ matrix.mode }} 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
example-mods: example-mods:
name: Build Example Mods name: Build Example Mods