Update .gitlab-ci.yml
This commit is contained in:
parent
5be3db6f0a
commit
b8a5bb81ca
|
@ -8,8 +8,11 @@ build:
|
|||
stage: build
|
||||
image: gcc:latest # Use GCC for building C/C++ projects
|
||||
script:
|
||||
- echo "Installing CMake..."
|
||||
- apt-get update
|
||||
- apt-get install -y cmake # Install CMake
|
||||
- echo "Building the application..."
|
||||
- mkdir -p build
|
||||
- cd build
|
||||
- cmake .. # Configure the build
|
||||
- make # Compile the application
|
||||
- cmake .. -DCMAKE_TOOLCHAIN_FILE=$CI_PROJECT_DIR/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
- make
|
Loading…
Reference in New Issue