diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a657ef7..84f031d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file + - cmake .. -DCMAKE_TOOLCHAIN_FILE=$CI_PROJECT_DIR/vcpkg/scripts/buildsystems/vcpkg.cmake + - make \ No newline at end of file