8000 github actions test2 · snmng/arduinoWebSockets@dc30a2b · GitHub
[go: up one dir, main page]

Skip to content

Commit dc30a2b

Browse files
committed
github actions test2
1 parent 6bee53a commit dc30a2b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,23 @@ jobs:
1919
build:
2020
# The type of runner that the job will run on
2121
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
env:
25+
- CPU="esp8266" BOARD="esp8266com:esp8266:generic:xtal=80" IDE_VERSION=1.6.13
26+
- CPU="esp8266" BOARD="esp8266com:esp8266:generic:xtal=80,dbg=Serial1" IDE_VERSION=1.6.13
27+
- CPU="esp8266" BOARD="esp8266com:esp8266:generic:xtal=80,eesz=1M,FlashMode=qio,FlashFreq=80" IDE_VERSION=1.8.13
28+
- CPU="esp32" BOARD="espressif:esp32:esp32:FlashFreq=80" IDE_VERSION=1.8.5
29+
- CPU="esp32" BOARD="espressif:esp32:esp32:FlashFreq=80" IDE_VERSION=1.8.9
30+
- CPU="esp32" BOARD="espressif:esp32:esp32:FlashFreq=80" IDE_VERSION=1.8.13
31+
env: ${{ matrix.env }}
2232

2333
# Steps represent a sequence of tasks that will be executed as part of the job
2434
steps:
2535
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2636
- uses: actions/checkout@v2
2737

28-
- name: build examples
38+
- name: prepare
2939
run: |
3040
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
3141
export DISPLAY=:1.0
@@ -47,4 +57,9 @@ jobs:
4757
arduino --board $BOARD --save-prefs
4858
arduino --get-pref sketchbook.path
4959
arduino --pref update.check=false
60+
61+
- name: build examples
62+
run: |
63+
source $GITHUB_WORKSPACE/travis/common.sh
64+
cd $GITHUB_WORKSPACE
5065
build_sketches arduino $HOME/Arduino/libraries/arduinoWebSockets/examples/$CPU $CPU

0 commit comments

Comments
 (0)
0