Skip to content

Commit

Permalink
Fix broken CI build
Browse files Browse the repository at this point in the history
A number of factors contributed to the build being broken:
- ATtinyCore tool dependency on micronucleus-cli-2.5-azd1-x86_64-linux-gnu.tar.bz2
  is hosted on a website with an expired certificate
  - Using an older version of the platform which uses the older tool version, hosted
  on a different website that still works
- The latest arduino-cli release contains a bug (arduino/arduino-cli#2345)
  which fails to download the ATtinyCore additional board packages
  • Loading branch information
platisd committed Nov 22, 2023
1 parent 3e9241f commit ae0ab15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,26 @@ jobs:
board:
- platform: arduino:avr
name: uno
version: 1.8.6
url: http://downloads.arduino.cc/packages/package_index.json
- platform: ATTinyCore:avr
name: attinyx5
version: 1.4.1
url: http://drazzy.com/package_drazzy.com_index.json

steps:
- uses: actions/checkout@v2
- name: Compile library examples
uses: arduino/compile-sketches@main
uses: arduino/compile-sketches@v1.1.0
with:
platforms: |
- name: ${{ matrix.board.platform }}
version: ${{ matrix.board.version }}
source-url: ${{ matrix.board.url }}
fqbn: ${{ matrix.board.platform }}:${{ matrix.board.name }}
cli-compile-flags: |
- "--build-property"
- "compiler.cpp.extra_flags=-Werror"
- "--build-property"
- "compiler.cpp.extra_flags=-Wno-unused-variable"
cli-version: 0.33.1

0 comments on commit ae0ab15

Please sign in to comment.