Create tech stack docs (techstack.yml and techstack.md) #44
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 | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install libcleri | |
run: | | |
git clone https://github.com/cesbit/libcleri.git | |
cd ./libcleri/Release/ | |
make | |
sudo make install | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libuv1-dev libpcre2-dev libyajl-dev valgrind | |
- name: Run tests | |
run: | | |
cd ./Release/ | |
make test | |
- name: Compile code | |
run: | | |
cd ./Release/ | |
CFLAGS="-Werror -Winline -std=gnu89" make |