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
|
# Define the stages of your pipeline
|
||||||
stages:
|
stages:
|
||||||
- check
|
- build
|
||||||
|
|
||||||
# Define a job for the check stage
|
variables:
|
||||||
check_pipeline:
|
VCPKG_ROOT: "/vcpkg"
|
||||||
stage: check
|
|
||||||
image: jmchr/terravisor-env:latest
|
build:
|
||||||
|
stage: build
|
||||||
script:
|
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