Skip to content

Commit

Permalink
- change install location
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Nov 21, 2024
1 parent 2322f4c commit e61498f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/store-artefact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,15 @@ jobs:
yum install -y libxml2-devel check-devel java-devel
git clone https://github.com/libexpat/libexpat
export DEPENDENCY_DIR=$PWD/dependencies
export INSTALL_DIR=$PWD/install
cmake -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DEXPAT_BUILD_TESTS=OFF -DEXPAT_BUILD_TOOLS=OFF -DEXPAT_BUILD_EXAMPLES=OFF -DEXPAT_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=$DEPENDENCY_DIR -B libexpat -S libexpat/expat
cmake --build libexpat
cmake --install libexpat
cd ..
mkdir build
cd build
mkdir ../install
cmake ../libsbml -G Ninja \
-DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_CXX_STANDARD=${{matrix.cpp_standard}} \
-DWITH_CHECK=True \
Expand Down Expand Up @@ -361,4 +361,5 @@ jobs:
name:
Manylinux nightly (zip, libSBML ${{env.LIBSBML_VERSION}},
${{env.ARTIFACT_NAME_SUFFIX}})-${{ strategy.job-index }}
path: ../install
path:
install/

0 comments on commit e61498f

Please sign in to comment.