diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81a8ac4..d44afe1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,11 @@ image: jmchr/opengl-test-env:latest stages: - build - test + - release variables: VCPKG_ROOT: "/vcpkg" + CMAKE_BUILD_TYPE: "Release" build: stage: build @@ -33,3 +35,18 @@ run_tests: - export TEST_MODE=1 - cd build - ./TerraVisor + +release_job: + stage: release + dependencies: + - build + script: + - cd build + - mkdir -p release + - cp terravisor release/ + artifacts: + paths: + - build/release/ + +only: + - main \ No newline at end of file