mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Merge pull request #117 from davidgiven/githubci
Convert to Github CI instead of Travis.
This commit is contained in:
34
.github/workflows/ccpp.yml
vendored
Normal file
34
.github/workflows/ccpp.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
name: C/C++ CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-linux:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: apt
|
||||||
|
run: sudo apt install libusb-1.0-0-dev libsqlite3-dev ninja-build
|
||||||
|
- name: make
|
||||||
|
run: make
|
||||||
|
|
||||||
|
build-macos:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: brew
|
||||||
|
run: brew install sqlite pkg-config libusb ninja
|
||||||
|
- name: make
|
||||||
|
run: make
|
||||||
|
|
||||||
|
# build-windows:
|
||||||
|
# runs-on: windows-latest
|
||||||
|
# steps:
|
||||||
|
# - uses: numworks/setup-msys2@v1
|
||||||
|
# with:
|
||||||
|
# msystem: MSYS
|
||||||
|
# - uses: actions/checkout@v1
|
||||||
|
# - name: pacman
|
||||||
|
# run: msys2do pacman -S --noconfirm --needed make ninja mingw-w64-i686-libusb mingw-w64-i686-sqlite3 mingw-w64-i686-zlib mingw-w64-i686-gcc zip
|
||||||
|
# - name: make
|
||||||
|
# run: msys2do make
|
||||||
39
.travis.yml
39
.travis.yml
@@ -1,39 +0,0 @@
|
|||||||
language: shell
|
|
||||||
git:
|
|
||||||
depth: 1
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
-
|
|
||||||
os: linux
|
|
||||||
sudo: false
|
|
||||||
dist: xenial
|
|
||||||
compiler: gcc
|
|
||||||
env: CXX=g++-8
|
|
||||||
script:
|
|
||||||
- make
|
|
||||||
-
|
|
||||||
os: osx
|
|
||||||
osx_image: xcode10.2
|
|
||||||
compiler: clang
|
|
||||||
env:
|
|
||||||
- HOMEBREW_NO_INSTALL_CLEANUP=1
|
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- llvm-toolchain-precise-3.8
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
packages:
|
|
||||||
- ninja-build
|
|
||||||
- libusb-1.0-0-dev
|
|
||||||
- libsqlite3-dev
|
|
||||||
- g++-8
|
|
||||||
homebrew:
|
|
||||||
packages:
|
|
||||||
- ninja
|
|
||||||
|
|
||||||
script:
|
|
||||||
- make
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user