File tree Expand file tree Collapse file tree 4 files changed +7
-17
lines changed Expand file tree Collapse file tree 4 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: build
3
3
on : workflow_dispatch
4
4
5
5
env :
6
- MATURIN_VERSION : 1.7.8
7
6
PY_ALL : 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
8
7
9
8
jobs :
57
56
echo "JEMALLOC_SYS_WITH_LG_PAGE=16" >> $GITHUB_ENV
58
57
- uses : pyo3/maturin-action@v1
59
58
with :
60
- maturin-version : v${{ env.MATURIN_VERSION }}
61
59
rust-toolchain : stable
62
60
command : build
63
61
args : --release --out dist --interpreter ${{ matrix.interpreter || env.PY_ALL }}
@@ -95,10 +93,12 @@ jobs:
95
93
- uses : dtolnay/rust-toolchain@stable
96
94
with :
97
95
components : llvm-tools
96
+ - name : prepare profiling directory
97
+ shell : bash
98
+ run : mkdir -p ${{ github.workspace }}/profdata
98
99
- name : Build initial wheel
99
100
uses : PyO3/maturin-action@v1
100
101
with :
101
- maturin-version : v${{ env.MATURIN_VERSION }}
102
102
rust-toolchain : stable
103
103
command : build
104
104
args : --release --out pgo_wheel --interpreter ${{ matrix.interpreter }}
@@ -120,7 +120,6 @@ jobs:
120
120
- name : Build PGO wheel
121
121
uses : PyO3/maturin-action@v1
122
122
with :
123
- maturin-version : v${{ env.MATURIN_VERSION }}
124
123
command : build
125
124
args : --release --out dist --interpreter ${{ matrix.interpreter }}
126
125
manylinux : ${{ matrix.manylinux || 'auto' }}
Original file line number Diff line number Diff line change 7
7
- master
8
8
9
9
env :
10
- MATURIN_VERSION : 1.7.8
11
10
PYTHON_VERSION : 3.12
12
11
13
12
jobs :
24
23
run : |
25
24
python -m venv .venv
26
25
source .venv/bin/activate
27
- pip install maturin==${{ env.MATURIN_VERSION }}
26
+ pip install maturin
28
27
maturin develop --extras=lint
29
28
- name : Lint
30
29
run : |
Original file line number Diff line number Diff line change 6
6
- v*.*.*
7
7
8
8
env :
9
- MATURIN_VERSION : 1.7.8
10
9
PY_ALL : 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
11
10
12
11
jobs :
21
20
python-version : ' 3.10'
22
21
- uses : pyo3/maturin-action@v1
23
22
with :
24
- maturin-version : v${{ env.MATURIN_VERSION }}
25
23
rust-toolchain : stable
26
24
command : sdist
27
25
args : --out dist
81
79
echo "JEMALLOC_SYS_WITH_LG_PAGE=16" >> $GITHUB_ENV
82
80
- uses : pyo3/maturin-action@v1
83
81
with :
84
- maturin-version : v${{ env.MATURIN_VERSION }}
85
82
rust-toolchain : stable
86
83
command : build
87
84
args : --release --out dist --interpreter ${{ matrix.interpreter || env.PY_ALL }}
@@ -122,7 +119,6 @@ jobs:
122
119
- name : Build initial wheel
123
120
uses : PyO3/maturin-action@v1
124
121
with :
125
- maturin-version : v${{ env.MATURIN_VERSION }}
126
122
rust-toolchain : stable
127
123
command : build
128
124
args : --release --out pgo_wheel --interpreter ${{ matrix.interpreter }}
@@ -144,7 +140,6 @@ jobs:
144
140
- name : Build PGO wheel
145
141
uses : PyO3/maturin-action@v1
146
142
with :
147
- maturin-version : v${{ env.MATURIN_VERSION }}
148
143
command : build
149
144
args : --release --out dist --interpreter ${{ matrix.interpreter }}
150
145
manylinux : ${{ matrix.manylinux || 'auto' }}
Original file line number Diff line number Diff line change 9
9
branches :
10
10
- master
11
11
12
- env :
13
- MATURIN_VERSION : 1.7.8
14
-
15
12
jobs :
16
13
linux :
17
14
runs-on : ubuntu-latest
36
33
run : |
37
34
python -m venv .venv
38
35
source .venv/bin/activate
39
- pip install maturin==${{ env.MATURIN_VERSION }}
36
+ pip install maturin
40
37
maturin develop --extras=test
41
38
- name : Test
42
39
run : |
66
63
run : |
67
64
python -m venv .venv
68
65
source .venv/bin/activate
69
- pip install maturin==${{ env.MATURIN_VERSION }}
66
+ pip install maturin
70
67
maturin develop --extras=test
71
68
- name : Test
72
69
run : |
96
93
run : |
97
94
python -m venv venv
98
95
venv/Scripts/Activate.ps1
99
- pip install maturin==${{ env.MATURIN_VERSION }} pytest
96
+ pip install maturin
100
97
maturin develop --extras=test
101
98
- name : Test
102
99
run : |
You can’t perform that action at this time.
0 commit comments