added envs parser #19
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: CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Update ubuntu | |
run: sudo apt-get update | |
- name: Install libraries | |
run: > | |
sudo apt-get -y install | |
liblua5.2-dev | |
- name: Build and install cont | |
run: | | |
git clone --branch=master https://github.com/izuzanak/cont.git ${GITHUB_WORKSPACE}/../cont | |
cd ${GITHUB_WORKSPACE}/../cont/build | |
cmake .. | |
make | |
sudo make install | |
- name: Build yapgen | |
run: | | |
cd ${GITHUB_WORKSPACE}/build | |
cmake .. | |
make | |
sudo make install | |
- name: Test yapgen | |
run: | | |
cd ${GITHUB_WORKSPACE}/build | |
./test.sh > test.out | |