summaryrefslogtreecommitdiff
path: root/libs/nanovg/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-12 23:53:22 -0600
committersanine <sanine.not@pm.me>2023-02-12 23:53:22 -0600
commitf1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch)
treeab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/nanovg/.github/workflows/ci.yml
parentf567ea1e2798fd3156a416e61f083ea3e6b95719 (diff)
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/nanovg/.github/workflows/ci.yml')
-rw-r--r--libs/nanovg/.github/workflows/ci.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/nanovg/.github/workflows/ci.yml b/libs/nanovg/.github/workflows/ci.yml
new file mode 100644
index 0000000..04dac18
--- /dev/null
+++ b/libs/nanovg/.github/workflows/ci.yml
@@ -0,0 +1,28 @@
+name: CI
+
+on: [push]
+
+env:
+ BUILD_TYPE: release
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ ubuntu-latest]
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Install required packages
+ run: sudo apt-get install premake4 build-essential libglfw3-dev libglew-dev pkg-config
+
+ - name: Premake
+ run: premake4 gmake
+
+# due to glew problems with in the current ubuntu-latest, we don't build the examples (yet)
+# https://github.com/openai/mujoco-py/issues/383 has the same problem for reference
+# this doesn't happen in focal
+ - name: Make
+ run: cd build && make nanovg