Feature/threaded trackers 7 #48
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: Unit tests | |
on: pull_request | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Update Packages | |
run: | | |
sudo apt-get update | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install -y libcppunit-dev | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Fetch base branch | |
run: | | |
git remote add upstream "https://github.com/${{ github.event.pull_request.base.repo.full_name }}" | |
git fetch --no-tags --no-recurse-submodules upstream "${{ github.event.pull_request.base.ref }}" | |
- name: Configure Project | |
run: | | |
libtoolize | |
aclocal -I scripts | |
autoconf -i | |
autoheader | |
automake --add-missing | |
./configure | |
- name: Build Project | |
run: | | |
make | |
- name: Run Unit Tests | |
run: | | |
make check |