Merge pull request #18 from ZaychukAleksey/master #14
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++ | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install scons and gtest | |
run: | | |
sudo apt-get install -y scons | |
sudo apt-get install -y cmake scons | |
wget https://github.com/google/googletest/archive/release-1.11.0.zip | |
unzip -q release-1.11.0.zip | |
cd googletest-release-1.11.0 | |
cmake . | |
make | |
sudo make install | |
- name: Build examples | |
run: | | |
cd examples | |
scons | |
- name: Test | |
run: | | |
cd test | |
scons check |