update lv_bindings #450
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: unix port | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse" | |
sudo apt-get update -y -qq | |
sudo apt-get install libsdl2-dev parallel libfreetype-dev librlottie-dev libavformat-dev libavcodec-dev libswscale-dev libavutil-dev | |
- name: Initialize lv_bindings submodule | |
run: git submodule update --init --recursive lib/lv_bindings | |
- name: Update submodules | |
run: make -C ports/unix DEBUG=1 submodules | |
- name: Build mpy-cross | |
run: make -j $(nproc) -C mpy-cross | |
- name: Build the unix port | |
run: make -j $(nproc) -C ports/unix DEBUG=1 | |
- name: Run tests | |
run: | | |
export XDG_RUNTIME_DIR=/tmp | |
lib/lv_bindings/tests/run.sh | |