Fix dockerfile #15
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: Build sources the run tests | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up CMake | |
uses: jwlawson/actions-setup-cmake@v2 | |
with: | |
cmake-version: '3.20' | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y libcpprest-dev libgtest-dev | |
- name: Configure CMake | |
run: cmake -DTEST=ON -B build | |
- name: Build Google Test | |
run: cmake --build build | |
- name: Run Tests | |
run: | | |
cd build | |
ctest -VV | |