Skip to content

Commit f1d4ea4

Browse files
feat: update runner scripts
1 parent c8897f1 commit f1d4ea4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ jobs:
2828
choco upgrade -y visualstudio2022-workload-vctools
2929
make: msbuild countly-tests.vcxproj -t:rebuild -verbosity:diag -property:Configuration=Release && .\Release\countly-tests.exe
3030
- os: macos-15
31-
cmake-install: "brew install cmake"
31+
cmake-install: |
32+
curl -LO https://github.com/Kitware/CMake/releases/download/v3.31.9/cmake-3.31.9-macos-universal.tar.gz
33+
tar -xzf cmake-3.31.9-macos-universal.tar.gz
34+
sudo cp -R cmake-3.31.9-macos-universal/CMake.app/Contents/bin/* /usr/local/bin/
3235
dependencies: "brew install openssl"
3336
make: make ./countly-tests && ./countly-tests
3437
- os: ubuntu-24.04
@@ -39,7 +42,7 @@ jobs:
3942
make \
4043
libcurl4-openssl-dev \
4144
libssl-dev
42-
build-and-test: |
45+
make: |
4346
mkdir -p build && cd build
4447
cmake ..
4548
make countly-tests
@@ -61,7 +64,7 @@ jobs:
6164
run: ${{ matrix.dependencies }}
6265

6366
- name: Set up MSVC
64-
if: matrix.os == 'windows-2019'
67+
if: matrix.os == 'windows-2022'
6568
uses: microsoft/setup-msbuild@v1
6669

6770
- name: Build and run tests

0 commit comments

Comments
 (0)