From d00a5d1e373161279676f48cf5bd67138dc85901 Mon Sep 17 00:00:00 2001 From: mashuptwice Date: Thu, 11 Aug 2022 01:42:17 +0200 Subject: [PATCH 1/2] workflow: ignore changes in *.md files --- .github/workflows/lv_sim.yml | 2 ++ .github/workflows/main.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/lv_sim.yml b/.github/workflows/lv_sim.yml index 951b3c8d..7b02fb1c 100644 --- a/.github/workflows/lv_sim.yml +++ b/.github/workflows/lv_sim.yml @@ -8,11 +8,13 @@ on: paths-ignore: - 'doc/**' - 'images/**' + - '**.md' pull_request: branches: [ develop ] paths-ignore: - 'doc/**' - 'images/**' + - '**.md' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69cdb715..0f0686b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,11 +11,13 @@ on: paths-ignore: - 'doc/**' - 'images/**' + - '**.md' pull_request: branches: [ develop ] paths-ignore: - 'doc/**' - 'images/**' + - '**.md' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 4940cbda7a4141f098e2bf0f111b55bb45ff26a0 Mon Sep 17 00:00:00 2001 From: mashuptwice Date: Thu, 25 Aug 2022 11:30:11 +0200 Subject: [PATCH 2/2] removed lv_sim.yml --- .github/workflows/lv_sim.yml | 74 ------------------------------------ 1 file changed, 74 deletions(-) delete mode 100644 .github/workflows/lv_sim.yml diff --git a/.github/workflows/lv_sim.yml b/.github/workflows/lv_sim.yml deleted file mode 100644 index c950168c..00000000 --- a/.github/workflows/lv_sim.yml +++ /dev/null @@ -1,74 +0,0 @@ -# GitHub Actions Workflow to build Simulator for PineTime Smart Watch LVGL Interface - -name: Build PineTime LVGL Simulator - -on: - push: - branches: [ master, develop ] - paths-ignore: - - 'doc/**' - - '**.md' - pull_request: - branches: [ develop ] - paths-ignore: - - 'doc/**' - - '**.md' - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - ######################################################################################### - # Download and Install Dependencies - - - name: Install cmake - uses: lukka/get-cmake@v3.18.3 - - - name: Install SDL2 development package - run: | - 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 - - - name: Checkout source files - uses: actions/checkout@v2 - with: - submodules: recursive - - ######################################################################################### - # get InfiniSim repo - - - name: Get InfiniSim repo - run: | - git clone https://github.com/InfiniTimeOrg/InfiniSim.git --depth 1 --branch main - git -C InfiniSim submodule update --init lv_drivers libpng - - ######################################################################################### - # CMake - - - name: CMake - run: | - cmake -G Ninja -S InfiniSim -B build_lv_sim -DInfiniTime_DIR="${PWD}" - - ######################################################################################### - # Build and Upload simulator - - - name: Build simulator executable - run: | - cmake --build build_lv_sim - - - name: Upload simulator executable - uses: actions/upload-artifact@v3 - with: - name: infinisim-${{ github.head_ref }} - path: build_lv_sim/infinisim