-
Notifications
You must be signed in to change notification settings - Fork 41
53 lines (40 loc) · 1.15 KB
/
ci_master.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Run Unit Tests
on:
push:
branches:
- master
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches:
- master
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install PlatformIO
run: |
pip install platformio
- name: Set Environment MBEDTLS_VERSION_MAJOR Variable
run: echo "MBEDTLS_VERSION_MAJOR=3" >> $GITHUB_ENV
- name: Run tests - First Batch
run: pio test -e native -vvv
- name: Clean up - First Batch
run: pio run -t clean
- name: Set Environment MBEDTLS_BACKPORT Variable
run: echo "MBEDTLS_BACKPORT=true" >> $GITHUB_ENV
- name: Run tests - Second Batch
run: pio test -e native -vvv
- name: Clean up - Second Batch
run: pio run -t clean
- name: Set Environment W5500_WORKAROUND Variable
run: echo "W5500_WORKAROUND=true" >> $GITHUB_ENV
- name: Run tests - Third Batch
run: pio test -e native -vvv