ci: fix python, container off for protoc

also no need for rustup, maturin does it for us
This commit is contained in:
əlemi 2024-09-09 17:49:03 +02:00
parent 27159ea733
commit a9706cdf3d
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -30,7 +30,6 @@ jobs:
# target: armv7 # target: armv7
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- uses: arduino/setup-protoc@v3 - uses: arduino/setup-protoc@v3
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
@ -40,6 +39,7 @@ jobs:
with: with:
working-directory: dist/py working-directory: dist/py
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
container: 'off'
args: --release --out . args: --release --out .
sccache: 'true' sccache: 'true'
manylinux: auto manylinux: auto
@ -64,7 +64,6 @@ jobs:
# target: armv7 # target: armv7
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- uses: arduino/setup-protoc@v3 - uses: arduino/setup-protoc@v3
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
@ -74,6 +73,7 @@ jobs:
with: with:
working-directory: dist/py working-directory: dist/py
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
container: 'off'
args: --release --out . args: --release --out .
sccache: 'true' sccache: 'true'
manylinux: musllinux_1_2 manylinux: musllinux_1_2
@ -94,7 +94,6 @@ jobs:
# target: x86 # target: x86
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- uses: arduino/setup-protoc@v3 - uses: arduino/setup-protoc@v3
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
@ -105,6 +104,7 @@ jobs:
with: with:
working-directory: dist/py working-directory: dist/py
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
container: 'off'
args: --release --out . args: --release --out .
sccache: 'true' sccache: 'true'
- name: Upload wheels - name: Upload wheels
@ -124,7 +124,6 @@ jobs:
target: aarch64 target: aarch64
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- uses: arduino/setup-protoc@v3 - uses: arduino/setup-protoc@v3
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
@ -134,6 +133,7 @@ jobs:
with: with:
working-directory: dist/py working-directory: dist/py
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
container: 'off'
args: --release --out . args: --release --out .
sccache: 'true' sccache: 'true'
- name: Upload wheels - name: Upload wheels