Add dependency on GNU parallel. (#39)

lv_binding_micropython added a dependency on GNU parallel[1] to allow
the tests to be run in parallel.

[1] https://www.gnu.org/software/parallel/
This commit is contained in:
Chris Mumford 2021-08-28 23:10:21 -07:00 committed by GitHub
parent 1fcd6e97f2
commit e71a9729cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -13,11 +13,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install SDL - name: Install Dependencies
run: | run: |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse" 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 update -y -qq
sudo apt-get install libsdl2-dev sudo apt-get install libsdl2-dev parallel
- name: Initialize lv_bindings submodule - name: Initialize lv_bindings submodule
run: git submodule update --init --recursive lib/lv_bindings run: git submodule update --init --recursive lib/lv_bindings
- name: Update submodules - name: Update submodules

2
.gitpod.Dockerfile vendored
View File

@ -2,5 +2,5 @@ FROM gitpod/workspace-full-vnc
# Install dependencies # Install dependencies
RUN sudo apt-get update && \ RUN sudo apt-get update && \
sudo apt-get install -y libgtk-3-dev libsdl2-dev x11-xserver-utils sudo apt-get install -y libgtk-3-dev libsdl2-dev x11-xserver-utils parallel

View File

@ -23,7 +23,7 @@ If you are only starting with Micropython+LVGL, it's recommended that you use `l
## Build Instructions ## Build Instructions
1. `sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-dev python3.8` 1. `sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-dev python3.8 parallel`
Python 3 is required, but you can install some other version of python3 instead of 3.8, if needed. Python 3 is required, but you can install some other version of python3 instead of 3.8, if needed.
2. `git clone --recurse-submodules https://github.com/lvgl/lv_micropython.git` 2. `git clone --recurse-submodules https://github.com/lvgl/lv_micropython.git`
3. `cd lv_micropython` 3. `cd lv_micropython`