ccpp-win.yml 562 B

12345678910111213141516171819202122232425
  1. name: C/C++ win
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. build:
  8. runs-on: windows-2019
  9. steps:
  10. - uses: actions/checkout@v2
  11. - uses: shogo82148/actions-setup-perl@v1
  12. with:
  13. perl-version: '5.32'
  14. distribution: strawberry
  15. - run: perl -V
  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 -DTARS_SSL=ON
  20. - name: make
  21. run: cd build; cmake --build . --config release