-
Notifications
You must be signed in to change notification settings - Fork 3
55 lines (46 loc) · 1.16 KB
/
esp32-build.yaml
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
54
55
#
# Copyright 2022 Davide Bettio <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#
name: ESP32 Builds
on:
push: []
pull_request: []
concurrency:
group: ${{ github.workflow }}-${{ github.ref != 'refs/heads/main' && github.ref || github.run_id }}
cancel-in-progress: true
jobs:
esp-idf:
runs-on: ubuntu-22.04
container: espressif/idf:v${{ matrix.idf-version }}
strategy:
fail-fast: false
matrix:
idf-version:
- '4.4.6'
- '5.0.6'
- '5.1.3'
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
repository: 'atomvm/AtomVM'
- name: Checkout repo
uses: actions/checkout@v4
with:
path: './src/platforms/esp32/components/atomgl/'
- name: Build with idf.py
shell: bash
working-directory: ./src/platforms/esp32/
run: |
. $IDF_PATH/export.sh
idf.py reconfigure
idf.py build
idf.py size
- name: Print component size info with idf.py
shell: bash
working-directory: ./src/platforms/esp32/
run: |
. $IDF_PATH/export.sh
idf.py size-components