misc: Fixed compiler errors related to -Wstrict-prototypes #118
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: Clang format | |
on: [push] | |
jobs: | |
clang-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -qq clang-format | |
- name: Check format | |
run: ./format-test.sh | |
build-linux-gcc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -qq libcurl4-openssl-dev libncursesw5-dev | |
- name: build the binary | |
run: | | |
./configure | |
make | |
env: | |
CC: gcc | |
build-linux-clang: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -qq libcurl4-openssl-dev libncursesw5-dev | |
- name: build the binary | |
run: | | |
./configure | |
make | |
env: | |
CC: clang | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -qq check libcurl4-openssl-dev libncursesw5-dev | |
- name: build the binary | |
run: | | |
./configure | |
make | |
make test | |
env: | |
CC: gcc |