File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Continuous builds
2+
3+ on :
4+ push :
5+ branches : [ master, development ]
6+ pull_request :
7+ branches : [ master, development ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+ strategy :
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - name : Install deps
19+ run : |
20+ sudo apt-get update -qq
21+ sudo apt-get install libxerces-c-dev xsdcxx cmake -qq
22+
23+ - name : Create build folder for out-of-source build
24+ shell : bash
25+ run : |
26+ mkdir ${{github.workspace}}/NeuroML_API_build
27+
28+ - name : Configure CMake build
29+ working-directory : ${{github.workspace}}/NeuroML_API_build
30+ shell : bash
31+ run : |
32+ cmake $GITHUB_WORKSPACE
33+
34+ - name : Build
35+ working-directory : ${{github.workspace}}/NeuroML_API_build
36+ shell : bash
37+ run : |
38+ cmake --build .
39+
40+ - name : Test
41+ shell : bash
42+ working-directory : ${{github.workspace}}/NeuroML_API_build
43+ run : |
44+ ctest
45+ ./create_net network.nml
46+ ./example network.nml
47+ ls -alt
You can’t perform that action at this time.
0 commit comments