[CPP] Add warnings to all SDK example apps that would check if propper credentials have been set or it still has the defaults. #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: [master, staging] | |
pull_request: | |
branches: [master, staging] | |
jobs: | |
doctests: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 120 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-20.04 | |
- macos-11.0 | |
- windows-2019 | |
include: | |
- os: windows-2019 | |
cmake-generator: -G "Visual Studio 16 2019" -A x64 | |
cmake-install: "choco install -y cmake" | |
dependencies: | | |
choco install -y openssl | |
choco install -y visualstudio2017-workload-vctools | |
choco upgrade -y visualstudio2017-workload-vctools | |
make: msbuild countly-tests.vcxproj -t:rebuild -verbosity:diag -property:Configuration=Release && .\Release\countly-tests.exe | |
- os: macos-11.0 | |
cmake-install: "brew install cmake" | |
dependencies: "brew install openssl" | |
make: make ./countly-tests && ./countly-tests | |
- os: ubuntu-20.04 | |
cmake-install: "sudo apt-get update && sudo apt-get install -y cmake" | |
dependencies: "sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev" | |
make: make ./countly-tests && ./countly-tests | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: "recursive" | |
- name: Update submodules | |
run: git submodule update --init --recursive | |
- name: Install CMake | |
run: ${{ matrix.cmake-install }} | |
- name: Install dependencies | |
run: ${{ matrix.dependencies }} | |
- name: Set up MSVC | |
if: matrix.os == 'windows-2019' | |
uses: microsoft/setup-msbuild@v1 | |
- name: Build and run tests | |
run: | | |
cmake -DCOUNTLY_BUILD_TESTS=1 -B build . ${{ matrix.cmake-generator }} | |
cd build | |
${{ matrix.make }} |