blob: 883f3c118dcd5f7afbb60b830e953c54af7be9bb (
plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
name: Build wheels
on: [push, pull_request]
jobs:
wheel_without_test:
name: build wheel for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
env:
CIBW_SKIP: "*manylinux2010*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
name: Install Python 3.7
with:
python-version: '3.7'
- name: Install Visual C++ for Python 2.7
if: startsWith(matrix.os, 'windows')
run: |
choco install vcpython27 -f -y
- name: "install cibuildwheel"
run: python -m pip install cibuildwheel==1.4.1
- name: build wheel
run: cibuildwheel .
- name: Upload wheels
uses: actions/upload-artifact@v1
with:
name: wheels2
path: wheelhouse
# wheel:
# name: build wheel for ${{ matrix.os }}
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]
# env:
# CIBW_SKIP: "pp27-*win* *27* cp27-*manylinux* pp-*manylinux*"
# CIBW_TEST_COMMAND: python -Wa {project}/psutil/tests/runner.py
# CIBW_TEST_COMMAND_MACOS: LC_ALL='en_US.utf8' python -Wa {project}/psutil/tests/runner.py
# CIBW_TEST_EXTRAS: test
# CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
# CIBW_MANYLINUX_I686_IMAGE: manylinux2014
# steps:
# - uses: actions/checkout@v1
# - uses: actions/setup-python@v1
# name: Install Python 3.7
# with:
# python-version: '3.7'
# - name: Install Visual C++ for Python 2.7
# if: startsWith(matrix.os, 'windows')
# run: |
# choco install vcpython27 -f -y
# - name: "install cibuildwheel"
# run: pip install cibuildwheel==1.4.1
# - name: build wheel
# run: cibuildwheel .
# - name: Upload wheels
# uses: actions/upload-artifact@v1
# with:
# name: wheels
# path: wheelhouse
|