summaryrefslogtreecommitdiff
path: root/libs/nanovg/.github/workflows/ci.yml
blob: 04dac185dea0a6c8b2c15436a8b9aabdc40cd655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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