Skip to content

Commit

Permalink
Add CI clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jun 11, 2024
1 parent 7690eaf commit a9621b3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
variant: [esp8266, host, rp2040]
toolchain: [gcc]
include:
- variant: esp8266
arch: Esp8266
- variant: host
arch: Host
- os: ubuntu-latest
variant: host
arch: Host
toolchain: clang
- variant: rp2040
arch: Rp2040

Expand All @@ -30,6 +35,7 @@ jobs:
env:
SMING_ARCH: ${{ matrix.arch }}
SMING_SOC: ${{ matrix.variant }}
CLANG_BUILD: ${{ matrix.toolchain == 'clang' && '15' || '0' }}

steps:
- name: Fix autocrlf setting
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ jobs:
os: [ubuntu-latest, windows-latest]
variant: [esp8266, host, esp32, esp32s2, esp32c3, esp32s3, esp32c2, rp2040]
idf_version: ["4.4", ""] # "" denotes default, currently 5.2
toolchain: [gcc]
include:
- variant: esp8266
arch: Esp8266
- variant: host
arch: Host
- os: ubuntu-latest
variant: host
arch: Host
toolchain: clang
- variant: esp32
arch: Esp32
- variant: esp32s2
Expand Down Expand Up @@ -61,6 +66,7 @@ jobs:
SMING_ARCH: ${{ matrix.arch }}
SMING_SOC: ${{ matrix.variant }}
INSTALL_IDF_VER: ${{ matrix.idf_version }}
CLANG_BUILD: ${{ matrix.toolchain == 'clang' && '15' || '0' }}

steps:
- name: Fix autocrlf setting
Expand Down

0 comments on commit a9621b3

Please sign in to comment.