summaryrefslogtreecommitdiff
path: root/.github/workflows/lv_sim.yml
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-06-06 18:27:54 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-06-06 23:09:58 (GMT)
commit7c45f185a32c7bcff47c8fda1acdec82d3213717 (patch)
tree53b0419fe2a19e6ec5c89d0be0a11dcd8d4ceb00 /.github/workflows/lv_sim.yml
parent94b1b330fc1f6e941a797fedabade4e790e28bc2 (diff)
parent35dcf8c8607483c104711c9398d47d57147f4389 (diff)
Merge remote-tracking branch 'origin/develop' into analog24
Diffstat (limited to '.github/workflows/lv_sim.yml')
-rw-r--r--.github/workflows/lv_sim.yml22
1 files changed, 7 insertions, 15 deletions
diff --git a/.github/workflows/lv_sim.yml b/.github/workflows/lv_sim.yml
index 59ee7b3..aa71260 100644
--- a/.github/workflows/lv_sim.yml
+++ b/.github/workflows/lv_sim.yml
@@ -1,24 +1,15 @@
# GitHub Actions Workflow to build Simulator for PineTime Smart Watch LVGL Interface
-# Name of this Workflow
name: Build PineTime LVGL Simulator
-# When to run this Workflow...
on:
-
- # Run on all branches
push:
- branches: []
-
- # Also run this Workflow when a Pull Request is created or updated in the "master" and "develop" Branch
+ branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
-# Steps to run for the Workflow
jobs:
build:
-
- # Run these steps on Ubuntu
runs-on: ubuntu-latest
steps:
@@ -34,6 +25,10 @@ jobs:
sudo apt-get update
sudo apt-get -y install libsdl2-dev
+ - name: Install lv_font_conv
+ run:
+ npm i -g lv_font_conv@1.5.2
+
#########################################################################################
# Checkout
@@ -60,15 +55,12 @@ jobs:
#########################################################################################
# Build and Upload simulator
- # For Debugging Builds: Remove "make" option "-j" for clearer output. Add "--trace" to see details.
- # For Faster Builds: Add "make" option "-j"
-
- name: Build simulator executable
run: |
cmake --build build_lv_sim
- name: Upload simulator executable
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
- name: infinisim
+ name: infinisim-${{ github.head_ref }}
path: build_lv_sim/infinisim