Fix build.yml

This commit is contained in:
2021-10-12 21:10:56 +01:00
parent c05aa73e86
commit 8d2a9e6100
+3 -4
View File
@@ -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.