-
-
Notifications
You must be signed in to change notification settings - Fork 102
37 lines (30 loc) · 936 Bytes
/
Priiloader-CI.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: Priiloader-CI
on:
push:
pull_request:
branches:
- master
jobs:
Linux:
name: Linux
runs-on: ubuntu-latest
container:
image: docker://devkitpro/devkitppc
options: --cpus 2
steps:
#i don't like it that we need to apt-get this, but otherwise we can't build OpenDolBoot? :/
- name: Installing essentials
run: |
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cppcheck
- name: Checkout
uses: actions/checkout@v3
- name: Source Review
run: cppcheck . -v --std=c99 --std=c++11 --error-exitcode=1 --enable=warning,performance,portability,information,style --suppress=unusedFunction -UDEBUG_MEM2_LEVEL
- name: PreBuild Actions
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Build
run: |
make