Update .gitlab-ci.yml

This commit is contained in:
Jack Christensen 2024-08-10 23:33:39 -04:00
parent 5be3db6f0a
commit b8a5bb81ca
1 changed files with 5 additions and 2 deletions

View File

@ -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