diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 598f28e..50f9ec7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,11 +31,10 @@ jobs: # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCOS_INSTALLER_BUILD_TESTS=ON - - name: Build + - name: Build & Test # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - - name: Test - working-directory: ${{github.workspace}}/build - # Execute tests defined by the CMake configuration. - run: ./tests/test-initcpio + run: | + cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + cd ${{github.workspace}}/build + ./tests/test-initcpio + shell: bash