TarsCloud_TarsCpp/.github/workflows/ccpp-win.yml

27 lines
569 B
YAML
Raw Normal View History

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:
runs-on: windows-latest
steps:
- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- run: perl -V
2020-02-08 21:07:44 +08:00
- uses: actions/checkout@v2
- name: git
run: git submodule update --init --recursive
- name: configure
2020-02-29 11:06:16 +08:00
run: mkdir build;cd build; cmake --version; cmake .. -A X64 -DTARS_MYSQL=ON -DTARS_PROTOBUF=ON
2020-02-08 21:07:44 +08:00
- name: make
2020-02-08 21:45:41 +08:00
run: cd build; cmake --build . --config release --target run-all
2020-02-08 21:07:44 +08:00