mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-12 10:13:29 +00:00
commit7ba68dd20dAuthor: Jean-Francois Simon <jfsimon@startmail.com> Date: Wed Nov 16 16:19:50 2022 +0100 Proper C/C++ struct initialization. commitaeab3ef7acAuthor: Jean-Francois Simon <jfsimon@startmail.com> Date: Tue Nov 15 17:09:29 2022 +0100 Fixed C++ builds. commit2afd529107Merge:14710b81f8445a4cAuthor: jfsimon1981 <jfsimon1981@gmail.com> Date: Tue Nov 15 11:33:56 2022 +0100 Merge branch 'cesanta:master' into master commit14710b81e4Author: Jean-Francois Simon <jfsimon@startmail.com> Date: Tue Nov 15 11:07:15 2022 +0100 Added MIP free. commit6393cd149dAuthor: Jean-Francois Simon <jfsimon@startmail.com> Date: Tue Nov 15 11:06:44 2022 +0100 Adding mip_free() function. commitfeee81b733Author: Jean-Francois Simon <jfsimon@startmail.com> Date: Tue Nov 15 11:05:55 2022 +0100 Adding mip_free() function. commitf8445a4c85Merge:a39b7ddb71f5be01Author: Sergio R. Caprile <scaprile@users.noreply.github.com> Date: Fri Nov 11 20:42:38 2022 -0300 Merge pull request #1853 from cesanta/tibaremetaltest Update test.yml commit71f5be011bAuthor: Sergio R. Caprile <scaprile@users.noreply.github.com> Date: Fri Nov 11 20:15:01 2022 -0300 Update test.yml commitb53d3cf032Merge:7a71038aa39b7ddbAuthor: jfsimon1981 <jfsimon1981@gmail.com> Date: Fri Nov 11 16:10:53 2022 +0100 Merge branch 'cesanta:master' into master commit7a71038a27Author: jfsimon1981 <jfsimon1981@gmail.com> Date: Fri Nov 11 16:09:22 2022 +0100 Update mip_test.c commita39b7ddbacAuthor: cpq <valenok@gmail.com> Date: Fri Nov 11 15:03:48 2022 +0000 Fix fuzzer use-after-poison READ 1
140 lines
4.5 KiB
YAML
140 lines
4.5 KiB
YAML
name: build
|
|
on: [push, pull_request]
|
|
env:
|
|
IPV6: 0
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
cc: [gcc, clang, g++, clang++]
|
|
target: [test, mip_test]
|
|
ssl: [MBEDTLS, OPENSSL]
|
|
name: linux ${{ matrix.target }} CC=${{ matrix.cc }} SSL=${{ matrix.ssl }}
|
|
env:
|
|
CC: ${{ matrix.cc }}
|
|
SSL: ${{ matrix.ssl }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: sudo apt-get update ; sudo apt-get install libmbedtls-dev
|
|
- run: make ${{ matrix.target }}
|
|
s390:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
#- run: make s390
|
|
armhf:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
#- run: make armhf
|
|
linux2:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: sudo apt-get update ; sudo apt-get install libmbedtls-dev valgrind
|
|
- run: make unamalgamated
|
|
- run: make valgrind
|
|
- run: make mg_prefix
|
|
examples:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: sudo apt-get install libmbedtls-dev libpcap-dev
|
|
- run: make clean examples
|
|
- run: make clean test MG_ENABLE_POLL=1
|
|
macos:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl
|
|
- run: make test upload-coverage SSL=OPENSSL ASAN_OPTIONS= OPENSSL=`echo /usr/local/Cellar/openssl*/*`
|
|
- run: make test SSL=MBEDTLS ASAN_OPTIONS= MBEDTLS=`echo /usr/local/Cellar/mbedtls*/*`
|
|
- run: make mip_test ASAN_OPTIONS=
|
|
- run: make mg_prefix
|
|
windows:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make vc98
|
|
- run: make vc17
|
|
- run: make vc22
|
|
- run: make mingw
|
|
- run: make mingw++
|
|
arduino-xiao:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make arduino-xiao
|
|
arm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make arm
|
|
riscv:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make riscv
|
|
matrix_examples:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
example:
|
|
- path: esp32/device-dashboard
|
|
- path: esp32/uart-bridge
|
|
- path: esp8266
|
|
- path: stm32/stm32-freertos-tcp
|
|
- path: stm32/stm32-nucleo-f746z
|
|
- path: stm32/stm32-nucleo-f746zg
|
|
- path: stm32/stm32-nucleo-f429z
|
|
- path: stm32/stm32-nucleo-h743z
|
|
- path: stm32/nucleo-f429zi-baremetal
|
|
- path: stm32/nucleo-f746zg-baremetal
|
|
- path: nxp/nxp-mimxrt1020-azurertos
|
|
- path: nxp/nxp-frdmk66f-freertos
|
|
- path: nxp/nxp-lpcxpresso54s018m-freertos
|
|
- path: nxp/nxp-mimxrt1020-freertos
|
|
- path: nxp/nxp-evkbimxrt1050-lwip-freertos
|
|
- path: nxp/nxp-evkmimxrt1020-lwip-freertos
|
|
- path: nxp/nxp-evkmimxrt1024-lwip-freertos
|
|
- path: nxp/nxp-evkmimxrt1060-lwip-freertos
|
|
- path: nxp/nxp-evkmimxrt1064-lwip-freertos
|
|
- path: nxp/nxp-evkmimxrt1160-cm7-lwip-freertos
|
|
- path: nxp/nxp-evkmimxrt1170-cm7-lwip-freertos
|
|
- path: nxp/nxp-frdmk64f-lwip-freertos
|
|
- path: nxp/nxp-frdmk66f-lwip-freertos
|
|
- path: nxp/nxp-lpcxpresso54018-lwip-freertos
|
|
- path: nxp/nxp-lpcxpresso54608-lwip-freertos
|
|
- path: nxp/nxp-lpcxpresso54618-lwip-freertos
|
|
- path: nxp/nxp-lpcxpresso54628-lwip-freertos
|
|
- path: nxp/nxp-twrk65f180m-lwip-freertos
|
|
- path: nxp/nxp-twrkv58f220m-lwip-freertos
|
|
- path: infineon/infineon-xmc4700_4800-lwip-rtx-rtos
|
|
- path: ti/ti-ek-tm4c1294xl-http-server
|
|
- path: ti/ek-tm4c1294xl-baremetal
|
|
- path: raspberry/raspberry-pi-pico-w
|
|
name: ${{ matrix.example.path }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: ${{ matrix.example.path }}
|
|
run: make -C examples/${{ matrix.example.path }} build
|
|
matrix_zephyr_examples:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
zephyrexample:
|
|
- path: zephyr/device-dashboard
|
|
- path: zephyr/http-client
|
|
- path: zephyr/http-server
|
|
- path: zephyr/mqtt-aws-client
|
|
- path: zephyr/websocket-server
|
|
name: ${{ matrix.zephyrexample.name }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: ${{ matrix.zephyrexample.path }}
|
|
run: make -C examples/${{ matrix.zephyrexample.path }} zephyr build
|