mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-08-06 16:18:49 +00:00
Build hardware tests on CI (#791)
* Build tests on CI * Update workflows * Update Test_Build.yml * Update Test_Build.yml * Update Test_Build.yml * Update Test_Build.yml
This commit is contained in:
parent
89426db797
commit
ece809d368
1 changed files with 42 additions and 0 deletions
42
.github/workflows/Test_Build.yml
vendored
Normal file
42
.github/workflows/Test_Build.yml
vendored
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
name: Hardware Test Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: devkitpro/devkitarm
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install and update packages
|
||||||
|
run: |
|
||||||
|
apt-get -y install python3 python3-pip p7zip-full libarchive13
|
||||||
|
python3 --version
|
||||||
|
python3 -m pip install --upgrade pip setuptools
|
||||||
|
|
||||||
|
- name: Compile tests
|
||||||
|
run: |
|
||||||
|
make -C tests/AppCpuTimeLimit
|
||||||
|
make -C tests/DetectEmulator
|
||||||
|
make -C tests/HelloWorldSVC
|
||||||
|
make -C tests/ImmediateModeTriangles
|
||||||
|
make -C tests/PICA_LITP
|
||||||
|
make -C tests/SimplerTri
|
||||||
|
|
||||||
|
- name: Clone and compile 3ds-examples
|
||||||
|
run: |
|
||||||
|
git clone --recursive https://github.com/devkitPro/3ds-examples tests/3ds-examples
|
||||||
|
find tests/3ds-examples -type f -name Makefile -execdir make \;
|
||||||
|
|
||||||
|
- name: Upload binaries
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: Source & Binaries
|
||||||
|
path: tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue