没必要兼容c++20,毕竟format不同,c++20以上自己使用std::vformat或者std::format #176
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 1 | |
- name: 配置 vcpkg | |
uses: lukka/run-vcpkg@v7 | |
with: | |
vcpkgDirectory: '${{github.workspace}}/vcpkg' | |
vcpkgTriplet: x64-windows-static | |
# 2021.05.12 | |
vcpkgGitCommitId: '5568f110b509a9fd90711978a7cb76bae75bb092' | |
vcpkgArguments: 'openssl' | |
- name: 编译 | |
uses: lukka/run-cmake@v3 | |
with: | |
useVcpkgToolchainFile: true | |
buildDirectory: '${{github.workspace}}/build' | |
cmakeAppendedArgs: '' | |
cmakeBuildType: 'RelWithDebInfo' |