-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (40 loc) · 1.04 KB
/
actions.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
name: Ats PLC
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
Tests-esp-idf:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Prepare main project
working-directory: ./PLC_esp8266
run: make project_prepare
- name: Run tests
working-directory: ./Tests_esp8266
run: make run
Build-ota-bin:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Prepare
working-directory: ./PLC_esp8266
run: make project_prepare
- name: Requirements pip
working-directory: ./SDK/ESP8266_RTOS_SDK
run: python -m pip install --user -r requirements.txt
- name: Build ota
working-directory: ./PLC_esp8266
run: make ota
- name: Deploy
uses: actions/upload-artifact@v4
with:
name: AtsPLC-esp8266.ota.bin
path: ./PLC_esp8266/build/AtsPLC-esp8266.ota.bin
retention-days: 90