Skip to content

Testing Suite Solidified #9

Testing Suite Solidified

Testing Suite Solidified #9

Workflow file for this run

name: C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libtool autoconf
- name: Build and install CppUnit
run: |
wget https://dev-www.libreoffice.org/src/cppunit-1.14.0.tar.gz
tar xf cppunit-1.14.0.tar.gz
cd cppunit-1.14.0
./configure
make
sudo make install
- name: Set library path
run: |
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> $GITHUB_ENV
- name: Build project
run: |
make
make test
- name: Run tests
run: |
./test