-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (46 loc) · 1.36 KB
/
build-latest.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
name: Build pypdu macOS & Linux (Python3.10)
on: push
jobs:
build-manylinux-3_10:
name: Build manylinux (Python3.10)
runs-on: ubuntu-latest
env:
CIBW_BUILD: 'cp310*x86_64'
CIBW_MANYLINUX_X86_64_IMAGE: "jamesharrisoncb/manylinux2014_x86_64_conan"
steps:
- uses: actions/checkout@master
with:
submodules: recursive
- name: build wheels
uses: pypa/[email protected]
- uses: actions/upload-artifact@v2
with:
name: manylinux-3_10
path: wheelhouse/*.whl
build-mac-3_10:
name: Build mac (Python3.10)
runs-on: macos-11
env:
CIBW_BUILD: 'cp310*x86_64'
steps:
- uses: actions/checkout@master
with:
submodules: recursive
- name: Set up Python 3 for Conan
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.17.x'
- name: Install Python packages
run: pip3 install conan setuptools wheel
- name: Add conancenter remote
run: conan remote add -f conancenter https://center.conan.io
- name: build wheels
uses: pypa/[email protected]
- uses: actions/upload-artifact@v2
with:
name: mac-3_10
path: wheelhouse/*.whl