2020-12-18 11:26:17 +00:00
|
|
|
name: build
|
2021-01-04 12:02:55 +00:00
|
|
|
on: [push, pull_request]
|
2020-12-18 10:41:27 +00:00
|
|
|
jobs:
|
2020-12-18 11:09:03 +00:00
|
|
|
linux:
|
2020-12-18 10:41:27 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2020-12-18 10:56:35 +00:00
|
|
|
- name: Install packages
|
2022-03-18 09:03:18 +00:00
|
|
|
run: sudo apt-get update ; sudo apt-get install libmbedtls-dev valgrind
|
2022-01-15 01:45:31 +00:00
|
|
|
- name: gcc
|
|
|
|
run: make test test++ IPV6=0 CC=gcc
|
|
|
|
- name: clang
|
|
|
|
run: make test test++ IPV6=0 CC=clang
|
2020-12-20 21:45:58 +00:00
|
|
|
- name: openssl
|
2020-12-22 10:16:31 +00:00
|
|
|
run: make test SSL=OPENSSL IPV6=0
|
2021-09-14 12:27:02 +01:00
|
|
|
- name: unamalgamated
|
|
|
|
run: make unamalgamated
|
2022-03-18 08:56:12 +00:00
|
|
|
- name: valgrind
|
2022-03-18 09:10:24 +00:00
|
|
|
run: make valgrind IPV6=0
|
2021-05-28 19:05:10 +01:00
|
|
|
examples:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-05-28 19:05:10 +01:00
|
|
|
- name: Install packages
|
|
|
|
run: sudo apt-get install libmbedtls-dev
|
2020-12-21 12:33:27 +00:00
|
|
|
- name: examples
|
2021-07-29 14:21:20 +01:00
|
|
|
run: make clean examples
|
2020-12-18 11:09:03 +00:00
|
|
|
macos:
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2020-12-18 11:09:03 +00:00
|
|
|
- name: Install packages
|
2020-12-20 21:45:58 +00:00
|
|
|
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl
|
2020-12-18 11:09:03 +00:00
|
|
|
- name: make
|
2022-01-23 06:12:36 +00:00
|
|
|
run: make test++ upload-coverage IPV6=0 ASAN_OPTIONS=
|
2020-12-20 21:45:58 +00:00
|
|
|
- name: openssl
|
2022-01-23 06:58:06 +00:00
|
|
|
run: make test SSL=OPENSSL IPV6=0 ASAN_OPTIONS= OPENSSL=`echo /usr/local/Cellar/openssl*/*`
|
2020-12-21 12:33:27 +00:00
|
|
|
- name: exports
|
2020-12-21 12:39:03 +00:00
|
|
|
run: make mg_prefix
|
2020-12-18 11:12:08 +00:00
|
|
|
windows:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2020-12-21 12:33:27 +00:00
|
|
|
- name: vc98
|
2020-12-25 19:28:05 +00:00
|
|
|
run: make vc98
|
2020-12-21 12:33:27 +00:00
|
|
|
- name: vc2017
|
|
|
|
run: make vc2017
|
2020-12-25 19:28:05 +00:00
|
|
|
- name: mingw
|
|
|
|
run: make mingw
|
|
|
|
- name: mingw++
|
|
|
|
run: make mingw++
|
2021-05-28 18:30:42 +01:00
|
|
|
arm:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-05-28 18:30:42 +01:00
|
|
|
- name: arm
|
|
|
|
run: make arm
|
2021-07-29 14:21:20 +01:00
|
|
|
esp32:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-07-29 14:21:20 +01:00
|
|
|
- name: esp32
|
|
|
|
run: make -C examples/esp32 build
|
|
|
|
esp8266:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-07-29 14:21:20 +01:00
|
|
|
- name: esp8266
|
|
|
|
run: make -C examples/esp8266 build
|
|
|
|
stm32-freertos-tcp:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-07-29 14:21:20 +01:00
|
|
|
- name: stm32-freertos-tcp
|
2021-10-22 13:34:44 +03:00
|
|
|
run: make -C examples/stm32/stm32-freertos-tcp build
|
2021-08-23 10:38:11 +01:00
|
|
|
stm32-nucleo-f746z:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-08-23 10:38:11 +01:00
|
|
|
- name: stm32-nucleo-f746z
|
2021-10-22 13:34:44 +03:00
|
|
|
run: make -C examples/stm32/stm32-nucleo-f746z build
|
2021-08-26 11:40:47 +01:00
|
|
|
stm32-nucleo-f429z:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-08-26 11:40:47 +01:00
|
|
|
- name: stm32-nucleo-f429z
|
2021-10-22 13:34:44 +03:00
|
|
|
run: make -C examples/stm32/stm32-nucleo-f429z build
|
2021-08-26 11:40:47 +01:00
|
|
|
stm32-nucleo-h743z:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-08-26 11:40:47 +01:00
|
|
|
- name: stm32-nucleo-h743z
|
2021-10-22 13:34:44 +03:00
|
|
|
run: make -C examples/stm32/stm32-nucleo-h743z build
|
2021-09-27 13:55:19 +01:00
|
|
|
nxp-mimxrt1020-azurertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-09-27 13:55:19 +01:00
|
|
|
- name: nxp-mimxrt1020-azurertos
|
2021-10-22 12:57:15 +03:00
|
|
|
run: make -C examples/nxp/nxp-mimxrt1020-azurertos build
|
2021-10-04 13:15:32 +03:00
|
|
|
nxp-frdmk66f-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-04 13:15:32 +03:00
|
|
|
- name: nxp-frdmk66f-freertos
|
2021-10-22 12:57:15 +03:00
|
|
|
run: make -C examples/nxp/nxp-frdmk66f-freertos build
|
2021-10-04 13:15:32 +03:00
|
|
|
nxp-lpcxpresso54s018m-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-04 13:15:32 +03:00
|
|
|
- name: nxp-lpcxpresso54s018m-freertos
|
2021-10-22 12:57:15 +03:00
|
|
|
run: make -C examples/nxp/nxp-lpcxpresso54s018m-freertos build
|
2021-10-04 13:15:32 +03:00
|
|
|
nxp-mimxrt1020-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-04 13:15:32 +03:00
|
|
|
- name: nxp-mimxrt1020-freertos
|
2021-10-22 12:57:15 +03:00
|
|
|
run: make -C examples/nxp/nxp-mimxrt1020-freertos build
|
|
|
|
nxp-evkbimxrt1050-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkbimxrt1050-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkbimxrt1050-lwip-freertos build
|
|
|
|
nxp-evkmimxrt1020-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkmimxrt1020-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkmimxrt1020-lwip-freertos build
|
|
|
|
nxp-evkmimxrt1024-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkmimxrt1024-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkmimxrt1024-lwip-freertos build
|
|
|
|
nxp-evkmimxrt1060-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkmimxrt1060-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkmimxrt1060-lwip-freertos build
|
|
|
|
nxp-evkmimxrt1064-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkmimxrt1064-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkmimxrt1064-lwip-freertos build
|
|
|
|
nxp-evkmimxrt1160-cm7-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkmimxrt1160-cm7-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkmimxrt1160-cm7-lwip-freertos build
|
|
|
|
nxp-evkmimxrt1170-cm4-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkmimxrt1170-cm4-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkmimxrt1170-cm4-lwip-freertos build
|
|
|
|
nxp-evkmimxrt1170-cm7-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-evkmimxrt1170-cm7-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-evkmimxrt1170-cm7-lwip-freertos build
|
|
|
|
nxp-frdmk64f-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-frdmk64f-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-frdmk64f-lwip-freertos build
|
|
|
|
nxp-frdmk66f-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-frdmk66f-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-frdmk66f-lwip-freertos build
|
|
|
|
nxp-lpcxpresso54018-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-lpcxpresso54018-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-lpcxpresso54018-lwip-freertos build
|
|
|
|
nxp-lpcxpresso54608-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-lpcxpresso54608-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-lpcxpresso54608-lwip-freertos build
|
|
|
|
nxp-lpcxpresso54618-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-lpcxpresso54618-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-lpcxpresso54618-lwip-freertos build
|
|
|
|
nxp-lpcxpresso54628-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-lpcxpresso54628-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-lpcxpresso54628-lwip-freertos build
|
|
|
|
nxp-twrk65f180m-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-twrk65f180m-lwip-freertos
|
|
|
|
run: make -C examples/nxp/nxp-twrk65f180m-lwip-freertos build
|
|
|
|
nxp-twrkv58f220m-lwip-freertos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-06 21:59:25 -07:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-22 12:57:15 +03:00
|
|
|
- name: nxp-twrkv58f220m-lwip-freertos
|
2022-01-15 01:45:31 +00:00
|
|
|
run: make -C examples/nxp/nxp-twrkv58f220m-lwip-freertos build
|
2022-02-18 10:07:10 +02:00
|
|
|
infineon-xmc4700_4800-lwip-rtx-rtos:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: infineon-xmc4700_4800-lwip-rtx-rtos
|
|
|
|
run: make -C examples/infineon/infineon-xmc4700_4800-lwip-rtx-rtos build
|