Skip to content

Commit ae0ab15

Browse files
committed
Fix broken CI build
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
1 parent 3e9241f commit ae0ab15

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-examples.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,26 @@ jobs:
1010
board:
1111
- platform: arduino:avr
1212
name: uno
13+
version: 1.8.6
1314
url: http://downloads.arduino.cc/packages/package_index.json
1415
- platform: ATTinyCore:avr
1516
name: attinyx5
17+
version: 1.4.1
1618
url: http://drazzy.com/package_drazzy.com_index.json
1719

1820
steps:
1921
- uses: actions/checkout@v2
2022
- name: Compile library examples
21-
uses: arduino/compile-sketches@main
23+
uses: arduino/compile-sketches@v1.1.0
2224
with:
2325
platforms: |
2426
- name: ${{ matrix.board.platform }}
27+
version: ${{ matrix.board.version }}
2528
source-url: ${{ matrix.board.url }}
2629
fqbn: ${{ matrix.board.platform }}:${{ matrix.board.name }}
2730
cli-compile-flags: |
2831
- "--build-property"
2932
- "compiler.cpp.extra_flags=-Werror"
3033
- "--build-property"
3134
- "compiler.cpp.extra_flags=-Wno-unused-variable"
35+
cli-version: 0.33.1

0 commit comments

Comments
 (0)