-
-
Notifications
You must be signed in to change notification settings - Fork 28
43 lines (41 loc) · 1.2 KB
/
main.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
name: cypari2
on:
pull_request:
types: [opened, synchronize]
push:
tags:
- '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.10', '3.11']
pari-version: ['pari-2.11.4', 'pari-2.13.0', 'pari-2.15.4']
env:
LC_ALL: C
PARI_VERSION: ${{ matrix.pari-version }}
steps:
- name: Set up the repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pari
run: |
ccache -M 256M && ccache -s
export PATH="/usr/lib/ccache:$PATH"
bash -x .install-pari.sh
- name: Local build
run: |
python3 -m venv tvenv
. tvenv/bin/activate
pip install -Iv setuptools==68.2.2
pip install sphinx cython cysignals
make build
make install
make check
(cd docs && make html)