Skip to content

Commit 816a5d0

Browse files
feat: update windows runner
1 parent b8b050d commit 816a5d0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ jobs:
2121
include:
2222
- os: windows-2022
2323
cmake-generator: -G "Visual Studio 17 2022" -A x64
24-
cmake-install: "choco install -y cmake"
25-
dependencies: |
26-
choco install -y openssl
27-
choco install -y visualstudio2022-workload-vctools
28-
choco upgrade -y visualstudio2022-workload-vctools
29-
make: msbuild countly-tests.vcxproj -t:rebuild -verbosity:diag -property:Configuration=Release && .\Release\countly-tests.exe
24+
cmake-install: "" #Already installed on hosted runner
25+
dependencies: "" #Already installed on hosted runner
26+
make: msbuild countly-tests.vcxproj -t:rebuild -verbosity:diag -property:Configuration=Release && .\Release\countly-tests.exe
3027
- os: macos-15
3128
cmake-install: "brew install cmake"
3229
dependencies: "brew install openssl"
@@ -36,7 +33,9 @@ jobs:
3633
sudo apt-get update && sudo apt-get install -y \
3734
cmake \
3835
g++ \
39-
make \
36+
make
37+
dependencies: |
38+
sudo apt-get update && sudo apt-get install -y \
4039
libcurl4-openssl-dev \
4140
libssl-dev
4241
make: make ./countly-tests && ./countly-tests

tests/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
#include <string>
77

88
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
9+
#ifdef __APPLE__
910
#define DOCTEST_CONFIG_NO_BREAK_INTO_DEBUGGER
11+
#endif
1012

1113
#include "doctest.h"
1214

0 commit comments

Comments
 (0)