blob: e775db93b38b0ce6579712ee8b3b13f30a773fec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
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 || true
brew install llvm || true
brew link --overwrite python@3.11
export PATH="/usr/local/opt/llvm/bin:$PATH"
pip3 install logilab-common
pip3 install pytest
make clean
make
pytest ./test.py
make clean
clang-tidy **/*.h **/*.c -- -Iinc
|