Merge pull request #127 from Hoikas/bgra #332
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux-CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- 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 |