Skip to content

Commit

Permalink
Merge pull request #3 from OpenSourceBrain/master
Browse files Browse the repository at this point in the history
Master -> dev
  • Loading branch information
pgleeson authored May 16, 2023
2 parents ea37d66 + e002288 commit c2fefba
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: C/C++ CI

on:
push:
branches: [ master, development, test* ]
pull_request:
branches: [ master, development, test* ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Build Sundials
run: |
cd WormSim
# Set idaInstallDir:
idaInstallDir=`pwd`/Sundials
# Go to sundials-2.3.0 directory, configure & make:
cd sundials-2.3.0
./configure CC=g++ --prefix=$idaInstallDir --disable-mpi --disable-fcmix
make
make install
- name: Build and run model

run: |
cd WormSim/Model
make
ls -alt
time ./program
- name: Print some output of the executed model

run: |
cd WormSim/Model
ls -alt
head -n 3 simdata.csv
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
### C elegans neuromechanical gait modulation
## *C. elegans* neuromechanical gait modulation

[![C/C++ CI](https://github.com/OpenSourceBrain/CelegansNeuromechanicalGaitModulation/actions/workflows/build.yml/badge.svg)](https://github.com/OpenSourceBrain/CelegansNeuromechanicalGaitModulation/actions/workflows/build.yml)

![](http://www.opensourcebrain.org/attachments/download/33/Selection_095.png)

Expand Down

0 comments on commit c2fefba

Please sign in to comment.