Skip to content

Commit

Permalink
Move from travis to github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
exjam committed Nov 20, 2019
1 parent ac36f99 commit 0742efd
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 59 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: C/C++ CI

on: [push, pull_request]

jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name: [
ubuntu-18.04
]
include:
- name: ubuntu-18.04
os: ubuntu-18.04

steps:
- uses: actions/checkout@v1
with:
submodules: true

- name: Install
run: |
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb
sudo dpkg -i /tmp/devkitpro-pacman.deb
yes | sudo dkp-pacman -Syu --needed devkitPPC wut-tools
echo ::set-env name=DEVKITPRO::/opt/devkitpro
echo ::set-env name=DEVKITPPC::/opt/devkitpro/devkitPPC
echo ::set-env name=PATH::$DEVKITPRO/tools/bin:$DEVKITPPC/bin:$PATH
- name: Build
run: |
make -j2
sudo -E 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
58 changes: 0 additions & 58 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/devkitPro/wut.svg)](https://travis-ci.org/devkitPro/wut)
[![Build status](https://github.com/devkitPro/wut/workflows/C%2FC%2B%2B%20CI/badge.svg)](https://github.com/devkitPro/wut/actions?workflow=C%2FC%2B%2B+CI)

# wut
Let's try make a Wii U Toolchain / SDK for creating rpx/rpl.
Expand Down

0 comments on commit 0742efd

Please sign in to comment.