File: ci.yml

package info (click to toggle)
bcal 2.4-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: ansic: 1,845; python: 170; makefile: 43; sh: 5
file content (43 lines) | stat: -rw-r--r-- 931 bytes parent folder | download | duplicates (2)
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
          brew upgrade python
          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