Merge branch 'release' #668
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |