Skip to content

Use FindPython from CMake 3.12. #308

Use FindPython from CMake 3.12.

Use FindPython from CMake 3.12. #308

Workflow file for this run

name: Linux-CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
- name: Build string_theory
run: |
mkdir -p build_deps && cd build_deps
git clone https://github.com/zrax/string_theory
mkdir -p string_theory/build && cd string_theory/build
cmake -DCMAKE_BUILD_TYPE=Debug -DST_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX="${GITHUB_WORKSPACE}/build_deps/prefix" ..
make -j2 && make install
- name: Build libhsplasma
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="${GITHUB_WORKSPACE}/build_deps/prefix" \
-DENABLE_PYTHON=ON -DENABLE_TOOLS=ON -DENABLE_NET=ON -DENABLE_PHYSX=OFF ..
make -j2