conan-io / conan-io/docs

appveyor example invalid

Open
#1,502 1 comment 0 reactions 0 assignees View on GitHub
complex: low good first issue priority: high stage: queue type: bug
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

The example in https://docs.conan.io/en/latest/integrations/ci/appveyor.html is invalid (indentation, cmmd). I am new to appveyor. I guess it should be:

```yml
version: 1.0.{build}
platform:
- x64

install:
- cmd: echo "Downloading conan..."
- cmd: set PATH=%PATH%;%PYTHON%/Scripts/
- cmd: pip.exe install conan
- cmd: conan user # Create the conan data directory
- cmd: conan --version

build_script:
- cmd: mkdir build
- cmd: conan install . -o gtest:shared=True
- cmd: cd build
- cmd: cmake ../ -DBUILD_TEST=TRUE -G "Visual Studio 14 2015 Win64"
- cmd: cmake --build . --config Release

test_script:
- cmd: cd bin
- cmd: encryption_test.exe
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the AppVeyor example at https://docs.conan.io/en/latest/integrations/ci/appveyor.html and compare its YAML indentation and command syntax with the proposed example. Done means the documented configuration is valid for AppVeyor and accurately reflects the shown Conan, CMake, build, and test commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
ci-cd, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.