-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 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,3 @@ | ||
build | ||
.dockerignore | ||
Dockerfile |
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,49 @@ | ||
name: CI tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 1 | ||
matrix: | ||
python-version: [3.7] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Get Cmake version | ||
run: | | ||
cmake --version | ||
- name: Update submodules | ||
run: | | ||
git submodule init | ||
git submodule update | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install libjansson-dev | ||
sudo apt-get install libhdf5-dev | ||
sudo apt-get install python3-dev | ||
sudo apt-get install python3-numpy | ||
sudo apt-get install python3-yaml | ||
sudo apt-get install python3-psycopg2 | ||
sudo apt-get install swig3.0 | ||
sudo apt-get install doxygen | ||
sudo apt-get install graphviz | ||
- name: configure | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. | ||
cd - | ||
- name: make | ||
run: | | ||
cd build | ||
make | ||
cd - | ||
- name: make test | ||
run: | | ||
cd build | ||
make test | ||
cd - |
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