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:
|
|
|
|
- uses: actions/checkout@v2
|
2020-12-18 10:56:35 +00:00
|
|
|
- name: Install packages
|
|
|
|
run: sudo apt-get install libmbedtls-dev
|
2020-12-18 10:41:27 +00:00
|
|
|
- name: make
|
2020-12-22 10:16:31 +00:00
|
|
|
run: make test test++ IPV6=0
|
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-05-28 19:05:10 +01:00
|
|
|
examples:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- 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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- 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
|
2020-12-22 10:16:31 +00:00
|
|
|
run: make test++ upload-coverage IPV6=0
|
2020-12-20 21:45:58 +00:00
|
|
|
- name: openssl
|
2021-07-13 20:49:19 +01:00
|
|
|
run: make test SSL=OPENSSL IPV6=0 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:
|
|
|
|
- uses: actions/checkout@v2
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: arm
|
|
|
|
run: make arm
|
2021-07-29 14:21:20 +01:00
|
|
|
esp32:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: esp32
|
|
|
|
run: make -C examples/esp32 build
|
|
|
|
esp8266:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: esp8266
|
|
|
|
run: make -C examples/esp8266 build
|
|
|
|
stm32-freertos-tcp:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: stm32-freertos-tcp
|
|
|
|
run: make -C examples/stm32-freertos-tcp build
|