From 4b7e3271e3ad8b2fda6fadead733a3fa9bad8dab Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周日, 25 10月 2020 20:10:00 +0800
Subject: [PATCH] disk strategy failing on windows

---
 .github/workflows/cpp.yml |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 703fbc4..ffbb69e 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -12,9 +12,11 @@
       shell: bash
       run: echo "BOOST_ROOT=$BOOST_ROOT_1_72_0" >> $GITHUB_ENV
     - name: Compile
+      env:
+        CTEST_OUTPUT_ON_FAILURE: 1
       run: |
         cd build
-        cmake -G "Visual Studio 16 2019" -DBUILD_TESTING:BOOL=OFF -DLCC_PROJECT_NAME:STRING=geode ..
+        cmake -G "Visual Studio 16 2019" -DLCC_PROJECT_NAME:STRING=test ..
         cmake --build . --target install --config Debug
       shell: bash
     - name: Test
@@ -22,4 +24,6 @@
         cd build 
         ctest -C Debug
       shell: bash
-      
\ No newline at end of file
+    - name: The job has failed
+      if: ${{ failure() }}
+      run: type %TMP%\open-license.log
\ No newline at end of file

--
Gitblit v1.9.1