mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-03 05:22:26 +08:00
27 lines
569 B
YAML
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
|
|
|