diff --git a/.github/workflows/build-libantimonyjs-github-actions.yml b/.github/workflows/build-libantimonyjs-github-actions.yml index a7f17d4..1834042 100644 --- a/.github/workflows/build-libantimonyjs-github-actions.yml +++ b/.github/workflows/build-libantimonyjs-github-actions.yml @@ -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 @@ -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 @@ -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 + +