Fix build fialure #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: | |
macOS-gcc: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Compile with gcc | |
env: | |
CC: gcc | |
run: | | |
brew upgrade python | |
pip3 install logilab-common | |
pip3 install pytest | |
make clean | |
make | |
pytest ./test.py | |
make clean | |
macOS-clang: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Compile with clang | |
env: | |
CC: clang | |
run: | | |
brew update | |
brew upgrade python | |
brew link --overwrite [email protected] | |
pip3 install logilab-common | |
pip3 install pytest | |
brew install llvm | |
export PATH="/usr/local/opt/llvm/bin:$PATH" | |
make clean | |
make | |
pytest ./test.py | |
make clean | |
clang-tidy **/*.h **/*.c -- -Iinc |