Skip to content

Commit

Permalink
Activate verbose logging on the CI build agent
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 23, 2021
1 parent b5038de commit 2a2aa6d
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/cmake.yml
Expand Up @@ -19,31 +19,22 @@ jobs:
sudo apt-get install -yq libgtest-dev libeigen3-dev libwxgtk3.0-gtk3-dev libpng-dev
sudo apt-get install -yq libftgl-dev libglew-dev libalut-dev libvorbis-dev python3-dev
#- name: Create Build Environment
# # Some projects don't allow in-source building, so create a separate build directory
# # We'll use this as our working directory for all subsequent commands
# run: cmake -E make_directory ${{github.workspace}}/build

- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
#working-directory: ${{github.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE

- name: Build
env:
CMAKE_BUILD_PARALLEL_LEVEL: 3
CTEST_OUTPUT_ON_FAILURE: ON
#working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE

- name: Run Unit Tests
#working-directory: ${{github.workspace}}/build
env:
DR_VERBOSE_TEST_LOG: ON
shell: bash
run: ctest -C $BUILD_TYPE --output-log dr-test-run.log --verbose

Expand Down

0 comments on commit 2a2aa6d

Please sign in to comment.