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