-
Notifications
You must be signed in to change notification settings - Fork 442
58 lines (42 loc) · 1.18 KB
/
core.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Core C CI
on:
workflow_dispatch:
pull_request:
push:
jobs:
standard:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest]
name: "💦 ${{ matrix.runs-on }}"
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v2
#- name: Setup libfec
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install
- name: Setup pybind-dev (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install pybind11-dev
- name: Setup pybind-dev (macOS)
if: runner.os == 'macOS'
run: brew install pybind11
- name: Setup python dependencies (pip)
run: sudo -H python3 -m pip install pybind11 numpy matplotlib
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure
- name: make
run: make -j 2
- name: make check-doc
run: make check-doc
- name: make check
run: make -j 2 check
- name: make install
run: sudo make install
- name: ldconfig (Linux)
if: runner.os == 'Linux'
run: sudo ldconfig
- name: make check-link
run: make check-link