forked from indygreg/PyOxidizer
-
Notifications
You must be signed in to change notification settings - Fork 0
137 lines (129 loc) · 3.59 KB
/
oxidized_importer.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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
on:
push:
branches-ignore:
- 'ci-test'
tags-ignore:
- '**'
pull_request:
schedule:
- cron: '13 15 * * *'
workflow_dispatch:
jobs:
wheel_linux:
strategy:
fail-fast: false
matrix:
py:
- arch: 'aarch64'
build: 'cp38-manylinux_aarch64'
- arch: 'i686'
build: 'cp38-manylinux_i686'
- arch: 'x86_64'
build: 'cp38-manylinux_x86_64'
- arch: 'aarch64'
build: 'cp39-manylinux_aarch64'
- arch: 'i686'
build: 'cp39-manylinux_i686'
- arch: 'x86_64'
build: 'cp39-manylinux_x86_64'
- arch: 'aarch64'
build: 'cp310-manylinux_aarch64'
- arch: 'i686'
build: 'cp310-manylinux_i686'
- arch: 'x86_64'
build: 'cp310-manylinux_x86_64'
runs-on: ubuntu-22.04
env:
CIBW_ENVIRONMENT: 'PATH="$PATH:$HOME/.cargo/bin"'
CIBW_BEFORE_BUILD: 'ci/install-rust-linux.sh'
CIBW_ARCHS: ${{ matrix.py.arch }}
CIBW_BUILD: ${{ matrix.py.build }}
CIBW_BUILD_VERBOSITY: '1'
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Run cibuildwheel
run: |
if [ "${CIBW_ARCHS}" = "aarch64" ]; then
sudo apt update
sudo apt install -y qemu binfmt-support qemu-user-static
fi
python3 -m pip install --upgrade pip==22.0.3
python3 -m pip install cibuildwheel==2.3.1
python3 -m cibuildwheel --output-dir wheelhouse .
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: |
wheelhouse
wheel_macos:
strategy:
fail-fast: false
matrix:
py:
- build: 'cp38-macosx_x86_64'
- build: 'cp39-macosx_x86_64'
- build: 'cp310-macosx_x86_64'
runs-on: macos-12
env:
CIBW_BUILD: ${{ matrix.py.build }}
CIBW_BUILD_VERBOSITY: '1'
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Run cibuildwheel
run: |
python3 -m pip install --upgrade pip==22.0.3
python3 -m pip install cibuildwheel==2.3.1
python3 -m cibuildwheel --output-dir wheelhouse .
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: |
wheelhouse
wheel_windows:
strategy:
fail-fast: false
matrix:
py:
- build: 'cp38-win_amd64'
- build: 'cp39-win_amd64'
- build: 'cp310-win_amd64'
runs-on: windows-2022
env:
CIBW_BUILD_VERBOSITY: '1'
CIBW_BUILD: ${{ matrix.py.build }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Run cibuildwheel
run: |
python -m pip install --upgrade pip==22.0.3
python -m pip install cibuildwheel==2.3.1
python -m cibuildwheel --output-dir wheelhouse .
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: |
wheelhouse