Skip to content

Commit b48236a

Browse files
committed
use maturin rustflags with github path templating
1 parent 72c0212 commit b48236a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release-python.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
target: s390x
3838
- runner: ubuntu-22.04
3939
target: ppc64le
40-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
40+
python-version: ["3.13"] # Using stable abi3-py39
4141
steps:
4242
- uses: actions/checkout@v4
4343
- uses: actions/setup-python@v5
@@ -50,7 +50,7 @@ jobs:
5050
args: --release --out dist --find-interpreter -j 1
5151
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
5252
manylinux: auto
53-
# rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
53+
rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
5454
- name: Upload wheels
5555
uses: actions/upload-artifact@v4
5656
with:
@@ -70,7 +70,7 @@ jobs:
7070
target: aarch64
7171
- runner: ubuntu-22.04
7272
target: armv7
73-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
73+
python-version: ["3.13"] # Using stable abi3-py39
7474
steps:
7575
- uses: actions/checkout@v4
7676
- uses: actions/setup-python@v5
@@ -83,7 +83,7 @@ jobs:
8383
args: --release --out dist --find-interpreter
8484
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
8585
manylinux: musllinux_1_2
86-
# rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
86+
rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
8787
- name: Upload wheels
8888
uses: actions/upload-artifact@v4
8989
with:
@@ -99,7 +99,7 @@ jobs:
9999
target: x64
100100
- runner: windows-latest
101101
target: x86
102-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
102+
python-version: ["3.13"] # Using stable abi3-py39
103103
steps:
104104
- uses: actions/checkout@v4
105105

@@ -120,7 +120,7 @@ jobs:
120120
target: ${{ matrix.platform.target }}
121121
args: --release --out dist
122122
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
123-
# rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
123+
rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
124124
- name: Upload wheels
125125
uses: actions/upload-artifact@v4
126126
with:
@@ -136,7 +136,7 @@ jobs:
136136
target: x86_64
137137
- runner: macos-14
138138
target: aarch64
139-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
139+
python-version: ["3.13"] # Using stable abi3-py39
140140
steps:
141141
- uses: actions/checkout@v4
142142
- uses: actions/setup-python@v5
@@ -148,7 +148,7 @@ jobs:
148148
target: ${{ matrix.platform.target }}
149149
args: --release --out dist --find-interpreter
150150
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
151-
# rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
151+
rust-flags: "-Cprofile-use=${{github.workspace}}/scripts/pgo-profiles/interpn.profdata -Cmetadata=interpn_pgo"
152152
- name: Upload wheels
153153
uses: actions/upload-artifact@v4
154154
with:

0 commit comments

Comments
 (0)