From 58397b94d53d64b3eed7b30dc313734615f48265 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 17 Apr 2020 03:09:40 -0700 Subject: [PATCH] Remove wrapper script previously required for ESP8266 CI build Previously, this script was needed to install the ESP8266 platform's Python dependency during the CI run. Since then, the arduino/actions/libraries/compile-examples action has been modified to install Python, so that is no longer necessary. --- .github/workflows/compile-examples.yml | 10 +--------- .github/workflows/install-python-wrapper.sh | 9 --------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100755 .github/workflows/install-python-wrapper.sh diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index a3de50dc..5dce722e 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -23,16 +23,8 @@ jobs: - uses: actions/checkout@v1 with: fetch-depth: 1 - - name: compile-examples for official Arduino boards - if: startsWith(matrix.fqbn, '"esp8266:esp8266') != true + - name: Compile examples uses: arduino/actions/libraries/compile-examples@master with: fqbn: ${{ matrix.fqbn }} libraries: ${{ env.LIBRARIES }} - - name: compile-examples for ESP8266 boards - if: startsWith(matrix.fqbn, '"esp8266:esp8266') - uses: arduino/actions/libraries/compile-examples@master - with: - fqbn: ${{ matrix.fqbn }} - libraries: ${{ env.LIBRARIES }} - entrypoint: /github/workspace/.github/workflows/install-python-wrapper.sh diff --git a/.github/workflows/install-python-wrapper.sh b/.github/workflows/install-python-wrapper.sh deleted file mode 100755 index 6d818f86..00000000 --- a/.github/workflows/install-python-wrapper.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -x -# This script is used as an alternate entrypoint to allow installing Python 3 (a dependency of -# the ESP8266 core for Arduino) in the Docker container used by the compile-examples action - -# Install Python 3 -apt-get update && apt-get install -y python3 - -# Run the standard entrypoint script -/entrypoint.sh "$@"