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.
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user