Modify conditional to have Android API version check (#526) #49
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Ubuntu-Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install libpcap | |
run: sudo apt-get install -y libpcap-dev | |
- name: Initialize submodules | |
run: git submodule init && git submodule update | |
- name: Initialize build system | |
run: mkdir build && cd build && cmake .. | |
- name: Build tests | |
run: cmake --build build --target tests | |
- name: Run tests | |
run: ctest build |