Added option to draw straight lines, without arrow head #292
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: Build | |
on: [push, pull_request] | |
jobs: | |
build-gcc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: GCC | |
run: | | |
sudo apt-get update | |
sudo apt --yes install libgtk-3-dev meson ninja-build scdoc | |
pkg-config --list-all | |
CC=gcc meson setup build | |
ninja -C build | |
build-clang: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Clang | |
run: | | |
sudo apt-get update | |
sudo apt --yes install libgtk-3-dev meson ninja-build scdoc clang clang-format clang-tidy | |
CC=clang meson setup build | |
ninja -C build | |
echo "Making sure clang-format is correct..." | |
git ls-files -- '*.[ch]' | xargs clang-format -Werror -n | |
echo "Running clang-tidy..." | |
run-clang-tidy -p build |