Bump version #79
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: C/C++ CI of aricpp | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup dependencies new boost | |
run: | | |
sudo rm -rf /usr/lib/libboost_* /usr/lib/cmake/boost_* /usr/lib/libboost_* | |
sudo apt-get remove 'libboost-.*' | |
sudo apt-get -y update | |
rm -rf tmp && mkdir tmp && cd tmp | |
wget https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz | |
tar xzvf boost_1_76_0.tar.gz | |
cd boost_1_76_0 | |
./bootstrap.sh --prefix=/usr/ --with-libraries=test,thread,system,program_options | |
./b2 | |
sudo ./b2 install | |
- name: make new boost | |
run: | | |
cd examples | |
make clean | |
make | |
- name: cmake new boost | |
run: | | |
rm -rf build | |
mkdir build && cd build | |
cmake .. -DARICPP_BuildExamples=ON -DCMAKE_CXX_FLAGS="-pedantic -Wall -Wextra -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wundef -Werror" | |
make |