Update .gitlab-ci.yml
This commit is contained in:
parent
6c6f9a9c04
commit
0fbe47751f
|
@ -7,11 +7,12 @@ setup:
|
|||
image: alpine:latest
|
||||
script:
|
||||
- echo "Installing dependencies..."
|
||||
- apk update && apk add --no-cache git cmake make gcc g++ bash
|
||||
- apk update && apk add --no-cache curl zip unzip tar git cmake make gcc g++ bash
|
||||
- echo "Cloning vcpkg..."
|
||||
- git clone https://github.com/microsoft/vcpkg.git
|
||||
- cd vcpkg
|
||||
- ./bootstrap-vcpkg.sh
|
||||
- export VCPKG_FORCE_SYSTEM_BINARIES=1
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -21,4 +22,4 @@ build:
|
|||
- mkdir -p build
|
||||
- cd build
|
||||
- cmake .. -DCMAKE_TOOLCHAIN_FILE=$CI_PROJECT_DIR/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
- make
|
||||
- make
|
||||
|
|
Loading…
Reference in New Issue