Skip to content

Commit a5fb7ad

Browse files
authored
Update CI to build manylinux for python 3.9
2 parents 439f270 + d277c79 commit a5fb7ad

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/python:3.9.1
5+
- image: circleci/python:3.9.6
66

77
working_directory: ~/repo
88

@@ -18,8 +18,8 @@ jobs:
1818
name: Install pandoc
1919
command: |
2020
sudo apt-get update
21-
wget https://github.com/jgm/pandoc/releases/download/2.11.3.2/pandoc-2.11.3.2-1-amd64.deb
22-
sudo dpkg -i pandoc-2.11.3.2-1-amd64.deb
21+
wget https://github.com/jgm/pandoc/releases/download/2.14.1/pandoc-2.14.1-1-amd64.deb
22+
sudo dpkg -i pandoc-2.14.1-1-amd64.deb
2323
2424
- run:
2525
name: Install tex

azure-pipelines.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ jobs:
4747
displayName: 'Build package inplace'
4848
- script: python -u setup.py unittests
4949
displayName: 'Runs Unit Tests'
50+
- script: |
51+
python -m pip install cibuildwheel
52+
export CIBW_MANYLINUX_X86_64_IMAGE="manylinux_2_24"
53+
export CIBW_BEFORE_BUILD="pip install ."
54+
export CIBW_BEFORE_BUILD="pip install pybind11 cython numpy scipy pyquickhelper scikit-learn pandas pandas_streaming"
55+
export CIBW_BUILD="cp39-manylinux_x86_64"
56+
python -m cibuildwheel --output-dir dist/wheelhouse39 --platform linux
57+
displayName: 'Build Package manylinux_x_y'
5058
- script: |
5159
python -m pip install cibuildwheel
5260
export CIBW_MANYLINUX_X86_64_IMAGE="manylinux2014"

0 commit comments

Comments
 (0)