Skip to content

Commit

Permalink
Update build-libantimonyjs-github-actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NSR-Physiome committed Nov 7, 2023
1 parent b849771 commit 035b258
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/build-libantimonyjs-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
env:
EMSDK: emsdk
EMSDK_NODE: emsdk/node/16.20.0_64bit/bin/node
LIBANTIMONYJS_DIR: libantimonyjs
SBML_VERS: "5.20.0"
ANT_VERS: "2.13.4"
steps:
- uses: actions/checkout@v4
- run: ls
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: build expat lib
run: emcmake cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install/expat
working-directory: expat/build
- name: make expat lib
- name: Compile expat lib
run: emmake make
working-directory: expat/build
- name: install expat lib
Expand All @@ -59,15 +59,33 @@ jobs:
- name: make libsbml build dir
run: mkdir build
working-directory: libsbml
- name: build libsbml lib
- name: build libsbml library
run: emcmake cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install/sbml -DCMAKE_BUILD_TYPE=Release -DWITH_CPP_NAMESPACE=ON -DWITH_EXPAT=ON -DWITH_LIBXML=OFF -DLIBSBML_SKIP_SHARED_LIBRARY=ON -DENABLE_ARRAYS=ON -DENABLE_COMP=ON -DENABLE_DISTRIB=ON -DENABLE_FBC=ON -DENABLE_GROUPS=ON -DENABLE_MULTI=ON -DENABLE_QUAL=ON -DWITH_STABLE_PACKAGES=ON -DWITH_SWIG=OFF -DEXPAT_INCLUDE_DIR=$GITHUB_WORKSPACE/install/expat/include -DEXPAT_LIBRARY=$GITHUB_WORKSPACE/install/expat/lib/libexpat.a
working-directory: libsbml/build
- name: make libsbml lib
- name: compile libsbml lib
run: emmake make
working-directory: libsbml/build
- name: install libsbml
run: emmake make install
working-directory: libsbml/build
- name: Get antimony
run: wget https://github.com/sys-bio/antimony/archive/refs/tags/v$ANT_VERS.zip
- run: unzip v$ANT_VERS.zip
- run: mv antimony-$ANT_VERS/ antimony
- name: make antimony build dir
run: mkdir build
working-directory: antimony
- name: Build antimony library
run: emcmake cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install/antimony -DEXPAT_LIBRARY=$GITHUB_WORKSPACE/install/expat/lib/libexpat.a -DLIBSBML_INCLUDE_DIR=$GITHUB_WORKSPACE/install/sbml/include -DLIBSBML_INSTALL_DIR=$GITHUB_WORKSPACE/install/sbml -DLIBSBML_LIBRARY=$GITHUB_WORKSPACE/install/sbml/lib/libsbml-static.a -DWITH_CELLML=OFF -DWITH_CHECK=OFF -DWITH_COMP_SBML=ON -DWITH_LIBSBML_COMPRESSION=OFF -DWITH_LIBSBML_EXPAT=ON -DWITH_LIBSBML_LIBXML=OFF -DWITH_LIBSBML_XERCES=OFF -DWITH_PYTHON=OFF -DWITH_QTANTIMONY=OFF -DWITH_SBML=ON -DWITH_STATIC_SBML=ON -DWITH_SWIG=OFF
working-directory: antimony/build
- name: Compile antimony lib
run: emmake make
working-directory: antimony/build
- name: Install antimony lib
run: emmake make install
working-directory: antimony/build





Expand Down

0 comments on commit 035b258

Please sign in to comment.