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