🚧 fix CI

This commit is contained in:
Vladislav Nepogodin 2022-11-21 01:26:46 +04:00
parent 6eadc07fbd
commit 89983a0e96
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -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