forked from ithewei/libhv
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 931 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build-linux:
name: build-linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build
run: |
sudo apt update
sudo apt install libssl-dev libnghttp2-dev
./configure --with-openssl --with-nghttp2
make libhv examples unittest evpp
make check
build-macos:
name: build-macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: build
run: |
./configure
make libhv examples unittest evpp
build-windows:
name: build-windows
runs-on: windows-2016
steps:
- uses: actions/checkout@v2
- name: build
run: |
mkdir win64
cd win64
cmake .. -G "Visual Studio 15 2017 Win64"
cmake --build .