Removing README in branch to host website on GitHub Pages #18
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: 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 | |