mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
88 lines
2.2 KiB
YAML
88 lines
2.2 KiB
YAML
name: build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install packages
|
|
run: sudo apt-get install libmbedtls-dev
|
|
- name: make
|
|
run: make test test++ IPV6=0
|
|
- name: openssl
|
|
run: make test SSL=OPENSSL IPV6=0
|
|
examples:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install packages
|
|
run: sudo apt-get install libmbedtls-dev
|
|
- name: examples
|
|
run: make clean examples
|
|
macos:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install packages
|
|
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl
|
|
- name: make
|
|
run: make test++ upload-coverage IPV6=0
|
|
- name: openssl
|
|
run: make test SSL=OPENSSL IPV6=0 OPENSSL=`echo /usr/local/Cellar/openssl*/*`
|
|
- name: exports
|
|
run: make mg_prefix
|
|
windows:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: vc98
|
|
run: make vc98
|
|
- name: vc2017
|
|
run: make vc2017
|
|
- name: mingw
|
|
run: make mingw
|
|
- name: mingw++
|
|
run: make mingw++
|
|
arm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: arm
|
|
run: make arm
|
|
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
|
|
stm32-nucleo-f746z:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: stm32-nucleo-f746z
|
|
run: make -C examples/stm32-nucleo-f746z build
|
|
stm32-nucleo-f429z:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: stm32-nucleo-f429z
|
|
run: make -C examples/stm32-nucleo-f429z build
|
|
stm32-nucleo-h743z:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: stm32-nucleo-h743z
|
|
run: make -C examples/stm32-nucleo-h743z build
|