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
- 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