Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit 1a59e20

Browse files
committed
ci: use setup-cpp in AppVeyor
1 parent 7c46a0b commit 1a59e20

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ stages:
2020
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F
2121

2222
.setup_cpp: &setup_cpp |
23-
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.5.6/setup_cpp_linux"
23+
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.5.8/setup_cpp_linux"
2424
chmod +x setup_cpp_linux
2525
./setup_cpp_linux --compiler $compiler --cmake true --ninja true --conan true --ccache true
2626
source ~/.profile

appveyor.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ environment:
77

88
build_script:
99
- cmd: >-
10-
set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\Python\Python38\Scripts
10+
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.5.8/setup_cpp_windows.exe"
11+
12+
setup_cpp_windows.exe --compiler msvc --cmake true --conan true --ccache true
13+
14+
RefreshEnv.cmd
1115
12-
"%PYTHON%" -m pip install --user conan
16+
cmake -S c:\projects\source -B ./build -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -G "Visual Studio 16 2019"
1317
14-
cmake -S c:\projects\source -B ./build -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE:STRING=Release
15-
16-
cmake --build ./build --config "Release"
18+
cmake --build ./build --config "RelWithDebInfo"
1719
1820
test_script:
1921
- cmd: cd build && ctest -C Debug

0 commit comments

Comments
 (0)