Skip to content

added some code to Util to generate colour tables, most of it and the… #134

added some code to Util to generate colour tables, most of it and the…

added some code to Util to generate colour tables, most of it and the… #134

Workflow file for this run

name: PyNGL Linux
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name : Add System Packages
run : |
sudo apt-get update
sudo apt-get -y install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev python-dev-is-python3
- name: install vcpkg
run : |
git clone --depth 1 https://github.com/microsoft/vcpkg ~/vcpkg
cd ~/vcpkg
./bootstrap-vcpkg.sh
./vcpkg install glfw3 gl3w gtest fmt freetype glm rapidjson rapidxml pybind11
- name: Configure
run: |
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DNO_OIIO=1 -DPYNGL_ONLY=1 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 .. \
- name: Build
run: |
cd build
threads=`nproc`
cmake --build . --parallel $threads
find .
- name: Test
run: |
cd PyNGL/tests
cp ../../build/pyngl ./pyngl.so
which python3
python3 -V
ls
# python3 -m unittest test_Mat2.py test_Mat3.py test_Mat4.py test_Obj.py test_Quaternion.py test_Random.py test_Util.py test_Vec2.py test_Vec3.py test_Vec4.py