-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add CI in Github Actions, remove Travis CI
- Loading branch information
Showing
3 changed files
with
53 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
ubuntu2004: | ||
name: "Ubuntu 20.04" | ||
runs-on: ubuntu-20.04 | ||
if: "!contains(github.event.head_commit.message, '[skip ci]')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: dependencies | ||
run: | | ||
sudo apt-get install g++ libz-dev libboost-dev libwxgtk3.0-gtk3-dev swig libxy-dev liblua5.3-dev | ||
curl -LsS -o tests/catch.hpp https://github.com/philsquared/Catch/releases/download/v1.10.0/catch.hpp | ||
- name: build | ||
run: | | ||
g++ --version | ||
autoreconf -i | ||
./configure LUA=/usr/bin/lua5.3 LUA_INCLUDE=-I/usr/include/lua5.3 LUA_LIB=-llua5.3 | ||
make -j2 | ||
sudo make install | ||
- name: test | ||
run: | | ||
make -j2 check | ||
export LD_LIBRARY_PATH=/usr/local/lib | ||
cfityk --version | ||
clang35: | ||
name: "Ubuntu 16.04, Clang 3.5" | ||
runs-on: ubuntu-16.04 | ||
if: "!contains(github.event.head_commit.message, '[skip ci]')" | ||
env: | ||
CC: clang-3.5 | ||
CXX: clang++-3.5 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: dependencies | ||
run: | | ||
sudo apt-get install clang-3.5 cmake libz-dev libxy-dev libboost-dev liblua5.2-dev | ||
- name: build | ||
run: | | ||
$CXX --version | ||
cmake --version | ||
cmake . | ||
make -j2 | ||
sudo make install | ||
- name: test | ||
run: | | ||
export LD_LIBRARY_PATH=/usr/local/lib | ||
cfityk --version |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Code: https://github.com/wojdyr/fityk | |
Manual: http://fityk.readthedocs.org/en/latest/ | ||
Discussions: http://groups.google.com/group/fityk-users/ | ||
Building from Source: Read the INSTALL file | ||
[![Build Status](https://travis-ci.org/wojdyr/fityk.svg?branch=master)](https://travis-ci.org/wojdyr/fityk) | ||
[![MSVC Build Status](https://ci.appveyor.com/api/projects/status/q2vmyiya4vril835?svg=true)](https://ci.appveyor.com/project/wojdyr/fityk) | ||
[![GitHub CI](https://github.com/wojdyr/fityk/workflows/CI/badge.svg)](https://github.com/wojdyr/fityk/actions) | ||
[![AppVeyor CI](https://ci.appveyor.com/api/projects/status/q2vmyiya4vril835?svg=true)](https://ci.appveyor.com/project/wojdyr/fityk) | ||
Citing in academic papers: [J. Appl. Cryst. 43, 1126 (2010)](http://dx.doi.org/10.1107/S0021889810030499) ([reprint](http://wojdyr.github.io/fityk-JAC-10-reprint.pdf)) | ||
Contact: [email protected] |