Skip to content

Commit

Permalink
try standalone cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
20DM committed Aug 14, 2023
1 parent 4eca1d9 commit fc89ceb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ jobs:
sudo apt update
sudo apt install openmpi-bin libopenmpi-dev libyaml-cpp-dev doxygen graphviz ccache
if [[ "$USE_CONAN" = 0 ]]; then
sudo apt install libeigen3-dev libspdlog-dev catch2
sudo apt install libeigen3-dev libspdlog-dev
git clone https://github.com/catchorg/Catch2.git -b v3.4.0
mkdir Catch2/build
cd Catch2/build
cmake .. -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=${PWD}
make -j
make -j install
export PATH=${{github.workspace}}/Catch2/build:$PATH
fi
- name: Install Conan
Expand Down Expand Up @@ -82,6 +89,7 @@ jobs:
cmake .. -DCMAKE_INSTALL_PREFIX=${PWD}
make -j
make -j install
export PATH=${{github.workspace}}/cppflow/build:$PATH
fi
- name: Configure
Expand All @@ -91,7 +99,6 @@ jobs:
#conan install doxygen/1.9.4@#2af713e135f12722e3536808017ba086 --update
conan install ${{github.workspace}} -if ${{github.workspace}}/build --build missing -s compiler.libcxx=libstdc++11 -o mpi=off -o openmp=off -o docs=off -o cppflow=on -pr:h=default -pr:b=default
else
export PATH=${PWD}/cppflow/build:$PATH
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Dcppflow=ON
Expand Down

0 comments on commit fc89ceb

Please sign in to comment.