TarsCloud_TarsCpp/.github/workflows/ccpp-win.yml
2020-02-29 11:06:16 +08:00

27 lines
569 B
YAML

name: C/C++ win
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- run: perl -V
- uses: actions/checkout@v2
- name: git
run: git submodule update --init --recursive
- name: configure
run: mkdir build;cd build; cmake --version; cmake .. -A X64 -DTARS_MYSQL=ON -DTARS_PROTOBUF=ON
- name: make
run: cd build; cmake --build . --config release --target run-all