Skip to content

Commit db9da3a

Browse files
committed
Merge pull request #1256 from UncleGrumpy/esp32_workflows
Update ESP32 workflows and supported versions in release notes Updates the esp32 workflows to versions currently supported by Espressif, and updates the supported versions table in the release notes to match the CI. These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 7bca0f3 + a2f6953 commit db9da3a

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

.github/workflows/esp32-build.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ on:
1313
- 'CMakeLists.txt'
1414
- 'libs/**'
1515
- 'src/platforms/esp32/**'
16+
- 'src/platforms/esp32/**/**'
1617
- 'src/libAtomVM/**'
1718
- 'tools/packbeam/**'
1819
pull_request:
1920
paths:
2021
- '.github/workflows/esp32-build.yaml'
2122
- 'src/platforms/esp32/**'
23+
- 'src/platforms/esp32/**/**'
2224
- 'src/libAtomVM/**'
2325

2426
concurrency:
@@ -36,17 +38,14 @@ jobs:
3638
matrix:
3739
esp-idf-target: ["esp32", "esp32c3"]
3840
idf-version:
39-
- 'v4.4.7'
40-
- 'v5.0.6'
41+
- 'v5.0.7'
4142
- 'v5.1.4'
4243
- 'v5.2.2'
43-
- 'v5.3-rc1'
44+
- 'v5.3.1'
4445

4546
exclude:
4647
- esp-idf-target: "esp32c3"
47-
idf-version: 'v4.4.7'
48-
- esp-idf-target: "esp32c3"
49-
idf-version: 'v5.0.6'
48+
idf-version: 'v5.0.7'
5049
- esp-idf-target: "esp32c3"
5150
idf-version: 'v5.1.4'
5251
steps:

.github/workflows/esp32-mkimage.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ on:
1313
- 'CMakeLists.txt'
1414
- 'libs/**'
1515
- 'src/platforms/esp32/**'
16+
- 'src/platforms/esp32/**/**'
1617
- 'src/libAtomVM/**'
1718
- 'tools/packbeam/**'
1819
pull_request:
1920
paths:
2021
- '.github/workflows/esp32-mkimage.yaml'
2122
- 'src/platforms/esp32/**'
23+
- 'src/platforms/esp32/**/**'
2224
- 'src/libAtomVM/**'
2325

2426
permissions:
@@ -30,18 +32,18 @@ concurrency:
3032

3133
jobs:
3234
esp32-release:
33-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3436
container: espressif/idf:v${{ matrix.idf-version }}
3537

3638
strategy:
3739
matrix:
38-
idf-version: ["5.1.4"]
39-
cc: ["clang-10"]
40-
cxx: ["clang++-10"]
40+
idf-version: ["5.3.1"]
41+
cc: ["clang-14"]
42+
cxx: ["clang++-14"]
4143
cflags: ["-O3"]
4244
otp: ["27"]
4345
elixir_version: ["1.17"]
44-
compiler_pkgs: ["clang-10"]
46+
compiler_pkgs: ["clang-14"]
4547
soc: ["esp32", "esp32c2", "esp32c3", "esp32s2", "esp32s3", "esp32c6", "esp32h2"]
4648
flavor: ["", "-elixir"]
4749

@@ -50,7 +52,7 @@ jobs:
5052
CXX: ${{ matrix.cxx }}
5153
CFLAGS: ${{ matrix.cflags }}
5254
CXXFLAGS: ${{ matrix.cflags }}
53-
ImageOS: "ubuntu20"
55+
ImageOS: "ubuntu22"
5456

5557
steps:
5658
- name: Checkout repo

doc/release-notes.md.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ AtomVM currently supports the following versions of ESP-IDF:
6767

6868
| IDF SDK supported versions | AtomVM support |
6969
|------------------------------|----------------|
70-
| ESP-IDF [v4.4](https://docs.espressif.com/projects/esp-idf/en/v4.4.7/esp32/get-started/index.html) | ✅ |
71-
| ESP-IDF [v5.0](https://docs.espressif.com/projects/esp-idf/en/v5.0.6/esp32/get-started/index.html) | ✅ |
70+
| ESP-IDF [v5.0](https://docs.espressif.com/projects/esp-idf/en/v5.0.7/esp32/get-started/index.html) | ✅ |
7271
| ESP-IDF [v5.1](https://docs.espressif.com/projects/esp-idf/en/v5.1.4/esp32/get-started/index.html) | ✅ |
7372
| ESP-IDF [v5.2](https://docs.espressif.com/projects/esp-idf/en/v5.2.2/esp32/get-started/index.html) | ✅ |
73+
| ESP-IDF [v5.3](https://docs.espressif.com/projects/esp-idf/en/v5.3/esp32/get-started/index.html) | ✅ |
7474

7575
Building the AtomVM virtual machine for ESP32 is optional. In most cases, you can simply download a release image from the AtomVM [release](https://github.com/atomvm/AtomVM/releases) repository. If you wish to work on development of the VM or use one on the additional drivers that are available in the [AtomVM repositories](https://github.com/atomvm) you will to build AtomVM from source. See the [Build Instructions](build-instructions.md) for information about how to build AtomVM from source code. We recommend you to use the latest subminor (patch) versions for source builds. You can check the current version used for testing in the [esp32-build.yaml](https://github.com/atomvm/AtomVM/actions/workflows/esp32-build.yaml) workflow.
7676

0 commit comments

Comments
 (0)