2020-12-18 19:26:17 +08:00
|
|
|
name: build
|
2020-12-18 18:41:27 +08:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
2020-12-18 19:09:03 +08:00
|
|
|
linux:
|
2020-12-18 18:41:27 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-12-18 18:56:35 +08:00
|
|
|
- name: Install packages
|
|
|
|
run: sudo apt-get install libmbedtls-dev
|
2020-12-18 18:41:27 +08:00
|
|
|
- name: make
|
|
|
|
run: make test test++
|
2020-12-21 05:45:58 +08:00
|
|
|
- name: openssl
|
|
|
|
run: make test SSL=OPENSSL
|
2020-12-18 19:09:03 +08:00
|
|
|
macos:
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install packages
|
2020-12-21 05:45:58 +08:00
|
|
|
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install jq mbedtls openssl
|
2020-12-18 19:09:03 +08:00
|
|
|
- name: make
|
2020-12-18 19:47:56 +08:00
|
|
|
run: make test++ upload-coverage
|
2020-12-21 05:45:58 +08:00
|
|
|
- name: openssl
|
|
|
|
run: make test SSL=OPENSSL
|
2020-12-18 19:12:08 +08:00
|
|
|
windows:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: make
|
2020-12-18 19:14:21 +08:00
|
|
|
run: make mg_prefix vc98 vc2017 ex
|
2020-12-18 19:12:08 +08:00
|
|
|
|