-
Notifications
You must be signed in to change notification settings - Fork 1
executable file
·33 lines (25 loc) · 894 Bytes
/
Copy pathesp8266.yml
File metadata and controls
executable file
·33 lines (25 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: ESP8266
on: [push, pull_request]
env:
ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS: http://arduino.esp8266.com/stable/package_esp8266com_index.json
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Arduino CLI
uses: arduino/setup-arduino-cli@v1.1.1
- name: Install platform
run: |
arduino-cli core update-index
arduino-cli core install esp8266:esp8266
# Finally, we compile the sketch, using the FQBN that was set
# in the build matrix.
- name: Compile Sketch
run: arduino-cli compile --fqbn esp8266:esp8266:d1_mini rules.ino -v
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: rules.ino.bin
path: C:\\Users\\runneradmin\\AppData\\Local\\Temp\\arduino\\sketch-*/*.ino.bin