mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 22:42:31 +08:00
🚧 fix CI
This commit is contained in:
parent
6eadc07fbd
commit
89983a0e96
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -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.
|
# 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
|
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
|
# Build your program with the given configuration
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: |
|
||||||
|
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
- name: Test
|
cd ${{github.workspace}}/build
|
||||||
working-directory: ${{github.workspace}}/build
|
./tests/test-initcpio
|
||||||
# Execute tests defined by the CMake configuration.
|
shell: bash
|
||||||
run: ./tests/test-initcpio
|
|
||||||
|
Loading…
Reference in New Issue
Block a user