Skip to content

Add building for Python 3.11 & 3.12 x64 in CI #49

Add building for Python 3.11 & 3.12 x64 in CI

Add building for Python 3.11 & 3.12 x64 in CI #49

Workflow file for this run

name: Linux-CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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