This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
60 lines (57 loc) · 1.56 KB
/
pip.yml
File metadata and controls
60 lines (57 loc) · 1.56 KB
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
59
60
name: Install with pip
on:
push: { branches: [ "trunk" ] }
pull_request: { branches: [ "trunk" ] }
concurrency:
group: pip-${{ github.ref }}
cancel-in-progress: true
jobs:
sdist:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with: { submodules: recursive }
- name: create Antic sdist
shell: bash -l {0}
run: |
python setup.py sdist
- name: upload Antic sdist
uses: actions/upload-artifact@v2
with:
name: antic-sdist
path:
dist/**
install:
needs: sdist
runs-on: ubuntu-20.04
container: ${{ matrix.container }}
strategy:
matrix:
include:
- container: ubuntu:jammy
pip: pip
- container: sagemath/sagemath-dev:9.3
pip: sage -pip
- container: sagemath/sagemath-dev:9.4
pip: sage -pip
steps:
- name: install dependencies
shell: bash
run: |
apt update
export DEBIAN_FRONTEND=noninteractive
apt install -y pip libgmp-dev libmpfr-dev libflint-dev
if: ${{ startswith(matrix.container, 'ubuntu') }}
- name: download antic sdist
id: sdist
uses: actions/download-artifact@v2
with:
name: antic-sdist
path: /tmp/dist/
- name: install antic
shell: bash
run: |
export EXTRA_SHARED_FLAGS=-Wl,--no-undefined
${{ matrix.pip }} install ${{ steps.sdist.outputs.download-path }}/antic*.tar.gz --verbose --no-binary :all:
env:
MAKEFLAGS: -j2