From a4b1a66a4436c97efbf0dd5932e403d97f0a13d3 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 24 10月 2020 19:55:33 +0800 Subject: [PATCH] fix windows issue --- .github/workflows/cpp.yml | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index cf8dba2..4ff1d72 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -4,15 +4,20 @@ push: jobs: - build-windows: + build-windows-vc2019: runs-on: windows-2019 - steps: - uses: actions/checkout@v1 - - name: Compile & Test + - name: Setup Boost (Windows / Linux latest) + shell: bash + run: echo "BOOST_ROOT=$BOOST_ROOT_1_72_0" >> $GITHUB_ENV + - name: Compile run: | - mkdir -p build cd build cmake -G "Visual Studio 16 2019" -DBUILD_TESTING:BOOL=OFF -DLCC_PROJECT_NAME:STRING=geode .. - cmake --build . --config Debug - shell: bash \ No newline at end of file + cmake --build . --target install --config Debug + shell: bash + - name: Test + run: ctest -C Release + shell: bash + \ No newline at end of file -- Gitblit v1.9.1