From 730b0e2ce1dfaa98c466d4c47481a5b46c16e475 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 15 Dec 2020 01:15:58 -0800 Subject: [PATCH 1/2] Remove api symlink deletion step from CI workflow The symlink for ArduinoCore-API in the Mbed OS Boards core library has been removed. This resulted in the step of the "Compile Examples" CI workflow that removes the now non-existent symlink to fail. --- .github/workflows/compile-examples.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 75855f2f..6f731222 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -81,11 +81,6 @@ jobs: # The arduino/actions/libraries/compile-examples action will install the platform from this path path: ${{ env.ARDUINOCORE_MBED_STAGING_PATH }} - - name: Remove ArduinoCore-API symlink from Arduino mbed-Enabled Boards platform - # This step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used - if: matrix.board.platform-name == 'arduino:mbed' - run: rm "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino/api" - - name: Checkout ArduinoCore-API # This step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used if: matrix.board.platform-name == 'arduino:mbed' From 3b0e185cc916c2ecffe6495897e7d92d293d7661 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 15 Dec 2020 01:16:46 -0800 Subject: [PATCH 2/2] Use default branch of ArduinoCore-API in CI workflow Previously, the `namespace_arduino` branch of `arduino/ArduinoCore-API` was used in the core library of the development version of the Mbed OS Boards platform used in the "Compile Examples" CI workflow. The default branch of `arduino/ArduinoCore-API` is now the latest and greatest version, so the `namespace_arduino` branch should no longer be used for the Mbed OS Boards platform's core library. --- .github/workflows/compile-examples.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 6f731222..f36cce99 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -87,8 +87,6 @@ jobs: uses: actions/checkout@v2 with: repository: arduino/ArduinoCore-API - # As specified at https://github.com/arduino/ArduinoCore-mbed/blob/master/README.md#installation - ref: namespace_arduino path: ${{ env.ARDUINOCORE_API_STAGING_PATH }} - name: Install ArduinoCore-API