mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 14:10:40 +01:00
e86579ae4c
Removed the sudo in ci.yml, this is not required when using a Docker container. Added missing doxygen comments in debug.h.
44 lines
851 B
YAML
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
|