Update to add build stage to .gitlab-ci.yml
This commit is contained in:
parent
34b641a58d
commit
59fa6c1a21
|
@ -1,10 +1,14 @@
|
|||
# Define the stages of your pipeline
|
||||
stages:
|
||||
- check
|
||||
- build
|
||||
|
||||
# Define a job for the check stage
|
||||
check_pipeline:
|
||||
stage: check
|
||||
image: jmchr/terravisor-env:latest
|
||||
variables:
|
||||
VCPKG_ROOT: "/vcpkg"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- echo "TODO - Add tests"
|
||||
# Set the VCPKG_TOOLCHAIN environment variable
|
||||
- export VCPKG_TOOLCHAIN=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
|
||||
- cmake -B build -S . -G Ninja
|
||||
- cmake --build build
|
Loading…
Reference in New Issue