ccpp-win.yml 481 B

123456789101112131415161718192021222324
  1. name: C/C++ win
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. build:
  8. runs-on: windows-latest
  9. steps:
  10. - name: Setup perl
  11. uses: shogo82148/actions-setup-perl@v1
  12. with:
  13. perl-version: ${{ matrix.perl }}
  14. - run: perl -V
  15. - uses: actions/checkout@v2
  16. - name: git
  17. run: git submodule update --init --recursive
  18. - name: configure
  19. run: mkdir build;cd build; cmake --version; cmake .. -A X64 -DTARS_MYSQL=ON -DTARS_PROTOBUF=ON