-
-
Notifications
You must be signed in to change notification settings - Fork 67
37 lines (31 loc) · 994 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build & Run Tests
# Thanks to the people working on GM9 and DKP
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
steps:
- uses: actions/checkout@v2
- name: Fix apt sources
run: |
apt-get update
apt-get -y install dirmngr
echo 'deb http://us.archive.ubuntu.com/ubuntu/ bionic main' >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
apt-get update
- 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/SimplerTri
make -C tests/ImmediateModeTriangles
make -C tests/HelloWorldSVC
make -C tests/DetectEmulator