wut/.github/workflows/ci.yml
Crayon2000 e86579ae4c Add definition for VPADSetGyroDirReviseBase
Removed the sudo in ci.yml, this is not required when using a Docker container.
Added missing doxygen comments in debug.h.
2020-08-13 08:44:23 +01:00

44 lines
851 B
YAML

name: C/C++ CI
on: [push, pull_request]
jobs:
build:
name: ubuntu-18.04
runs-on: ubuntu-18.04
container: devkitpro/devkitppc:latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: install cmake
run: |
apt-get install -y cmake
- name: Build
run: |
make -j2
make install
- name: Build Test
run: |
cd tests
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$DEVKITPRO/wut/share/wut.toolchain.cmake ../
make -j2
- name: Build Samples (Make)
run: |
cd samples/make
make -j2
- name: Build Samples (CMake)
run: |
cd samples/cmake
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$DEVKITPRO/wut/share/wut.toolchain.cmake ../
make -j2