Skip to content

Merge pull request #46 from CreatingNull/dependabot/github_actions/lu… #110

Merge pull request #46 from CreatingNull/dependabot/github_actions/lu…

Merge pull request #46 from CreatingNull/dependabot/github_actions/lu… #110

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- main
paths-ignore:
- 'README.md'
- '.docs/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get CMake
uses: lukka/[email protected]
- name: Install Google Test Framework
run: |
git clone --depth 1 --branch v1.13.0 https://github.com/google/googletest
cd googletest/
cmake CMakeCache.txt
make
echo "CPLUS_INCLUDE_PATH=${PWD}/googletest/include/" >> $GITHUB_ENV
echo "LIBRARY_PATH=${PWD}/googletest/" >> $GITHUB_ENV
- name: Build and Execute Tests
run: |
cd .tests/
make
../src/NullPacketComms