From 03860080782542b2405889733d605576437f3e64 Mon Sep 17 00:00:00 2001 From: pantor Date: Wed, 18 Mar 2020 09:40:44 +0100 Subject: [PATCH] test ci --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 573d6a9..cb2ee01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,13 +20,19 @@ jobs: # dependency_packages: build-essential g++-5 # run: sudo apt-get update && sudo apt-get -y install ${dependency_packages} + - name: Create Build Environment + run: cmake -E make_directory ${{runner.workspace}}/build + - name: Build + working-directory: ${{runner.workspace}}/build + shell: bash run: | - mkdir -p build && cd build cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. cmake --build . --config $BUILD_TYPE -j4 - name: Test + working-directory: ${{runner.workspace}}/build + shell: bash run: | - cd build + ls ctest -C $BUILD_TYPE -V