You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
743B

  1. name: Windows
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: windows-2019
  6. steps:
  7. - uses: actions/checkout@v1
  8. with:
  9. submodules: 'recursive'
  10. fetch-depth: 1
  11. - name: 配置 vcpkg
  12. uses: lukka/run-vcpkg@v7
  13. with:
  14. vcpkgDirectory: '${{github.workspace}}/vcpkg'
  15. vcpkgTriplet: x64-windows-static
  16. # 2021.05.12
  17. vcpkgGitCommitId: '5568f110b509a9fd90711978a7cb76bae75bb092'
  18. vcpkgArguments: 'openssl'
  19. - name: 编译
  20. uses: lukka/run-cmake@v3
  21. with:
  22. useVcpkgToolchainFile: true
  23. buildDirectory: '${{github.workspace}}/build'
  24. cmakeAppendedArgs: ''
  25. cmakeBuildType: 'RelWithDebInfo'