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 52e93a4 commit bf65d9b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
CONAN_REVISIONS_ENABLED: 1
OMP_NUM_THREADS: 2
CONAN_CPU_COUNT: 2
USE_CONAN: 0

jobs:
make-documentation:
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
- name: Install Conan
id: conan
if: env.USE_CONAN == "1"
uses: turtlebrowser/get-conan@main
with:
version: 1.60.2
Expand All @@ -66,9 +68,17 @@ jobs:

- name: Create cppflow package
run: |
#conan profile detect
#sed -i'' -e "s|generators|#generators|1" ./cppflow/conanfile.py
conan create ./cppflow/ -pr:h=default -pr:b=default
if [[ "$USE_CONAN" = 1 ]]; then
#conan profile detect
#sed -i'' -e "s|generators|#generators|1" ./cppflow/conanfile.py
conan create ./cppflow/ -pr:h=default -pr:b=default
else
mkdir cppflow/build
cd cppflow/build
cmake ..
make -j
make -j install
fi
- name: Configure
run: |
Expand Down

0 comments on commit bf65d9b

Please sign in to comment.