2020-02-08 21:46:37 +08:00
|
|
|
name: C/C++ win
|
2020-02-08 21:07:44 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-02-20 22:00:32 +08:00
|
|
|
- master
|
2020-02-08 21:07:44 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2021-10-13 20:49:27 +08:00
|
|
|
runs-on: windows-2019
|
2020-02-08 21:07:44 +08:00
|
|
|
|
|
|
|
steps:
|
2021-09-24 09:47:20 +08:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: shogo82148/actions-setup-perl@v1
|
|
|
|
with:
|
2021-09-24 09:52:30 +08:00
|
|
|
perl-version: '5.32'
|
|
|
|
distribution: strawberry
|
2021-10-13 20:55:51 +08:00
|
|
|
- run: perl -V
|
2020-02-08 21:07:44 +08:00
|
|
|
- name: git
|
|
|
|
run: git submodule update --init --recursive
|
|
|
|
- name: configure
|
2021-10-13 21:07:48 +08:00
|
|
|
run: mkdir build;cd build; cmake --version; cmake .. -A X64 -DTARS_MYSQL=ON -DTARS_PROTOBUF=ON -DTARS_SSL=ON
|
|
|
|
- name: make
|
|
|
|
run: cd build; cmake --build . --config release
|