From 8d2a9e6100825947170c6c1f4d7ab1bdbdad33f9 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 12 Oct 2021 21:10:56 +0100 Subject: [PATCH] Fix build.yml --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a9ae01..91ac71d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ env: BUILD_TYPE: Release jobs: - build: + check-build: # The CMake configure and build commands are platform agnostic and should work equally # well on Windows or Mac. You can convert this to a matrix build if you need # cross-platform coverage. @@ -35,8 +35,7 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - run-tests: - needs: build + check-tests: runs-on: ubuntu-latest steps: - name: Install dependencies @@ -48,7 +47,7 @@ jobs: uses: actions/checkout@master with: repository: 'pixlra/calyp-testdata' - path: tests_data + path: ${{github.workspace}}/tests_data - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.