Merge pull request #10 from Nielsbishere/master

Added GitHub CI support (and remove Travis support as it's slower)
This commit is contained in:
dumblob 2019-12-04 16:14:35 +01:00 committed by GitHub
commit 4be7cd1c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 23 deletions

21
.github/workflows/ccpp.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: apt-update
run: sudo apt-get update -qq
- name: apt get glfw
run: sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libglew-dev
- name: build opengl2
run: make -C demo/glfw_opengl2
- name: build opengl3
run: make -C demo/glfw_opengl3
- name: build example
run: make -C example

View File

@ -1,21 +0,0 @@
language: c
sudo: required
dist: xenial
os:
- linux
compiler:
- gcc
- clang
before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then
sudo apt-get update -qq;
sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libglew-dev;
fi
script:
- make -C demo/glfw_opengl2
- make -C demo/glfw_opengl3
- make -C example

View File

@ -1,7 +1,5 @@
# Nuklear
[![Build Status](https://travis-ci.org/Immediate-Mode-UI/nuklear.svg)](https://travis-ci.org/Immediate-Mode-UI/nuklear)
This is a minimal state immediate mode graphical user interface toolkit
written in ANSI C and licensed under public domain. It was designed as a simple
embeddable user interface for application and does not have any dependencies,