Fix .gitlab-ci.yml file extension
This commit is contained in:
parent
3bea51b408
commit
fb7d670eca
|
@ -0,0 +1,22 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
variables:
|
||||
VCPKG_ROOT: "$CI_PROJECT_DIR/vcpkg"
|
||||
VCPKG_DEFAULT_TRIPLET: "x64-windows"
|
||||
|
||||
before_script:
|
||||
# Install dependencies for building with CMake and vcpkg
|
||||
- mkdir -p $VCPKG_ROOT
|
||||
- git clone https://github.com/microsoft/vcpkg.git $VCPKG_ROOT
|
||||
- $VCPKG_ROOT/bootstrap-vcpkg.sh
|
||||
- $VCPKG_ROOT/vcpkg install glew:$VCPKG_DEFAULT_TRIPLET glfw3:$VCPKG_DEFAULT_TRIPLET
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
|
||||
- cmake --build build
|
||||
tags:
|
||||
- windows
|
||||
|
Loading…
Reference in New Issue