Skip to content

Commit

Permalink
production flag no longer exists, and performance is on-by-default
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Sep 23, 2024
1 parent 90072a7 commit a77334b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: x86_64
args: --release --locked --out dist --features production,self-update
args: --release --locked --out dist --features self-update
- name: "Upload wheels"
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: aarch64
args: --release --locked --out dist --features production,self-update
args: --release --locked --out dist --features self-update
- name: "Test wheel - aarch64"
run: |
pip install dist/${{ env.PACKAGE_NAME }}-*.whl --force-reinstall
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --locked --out dist --features production,self-update
args: --release --locked --out dist --features self-update
- name: "Test wheel"
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }}
shell: bash
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: auto
args: --release --locked --out dist --features production,self-update
args: --release --locked --out dist --features self-update
# See: https://github.com/sfackler/rust-openssl/issues/2036#issuecomment-1724324145
before-script-linux: |
# If we're running on rhel centos, install needed packages.
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
# On `aarch64`, use `manylinux: 2_28`; otherwise, use `manylinux: auto`.
manylinux: ${{ matrix.platform.arch == 'aarch64' && '2_28' || 'auto' }}
docker-options: ${{ matrix.platform.maturin_docker_options }}
args: --release --locked --out dist --features production,self-update
args: --release --locked --out dist --features self-update
- uses: uraimo/run-on-arch-action@v2
name: Test wheel
with:
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:
target: ${{ matrix.platform.target }}
manylinux: auto
docker-options: ${{ matrix.platform.maturin_docker_options }}
args: --release --locked --out dist --no-default-features --features production,self-update
args: --release --locked --out dist --no-default-features --features self-update
- uses: uraimo/run-on-arch-action@v2
if: matrix.platform.arch != 'ppc64'
name: Test wheel
Expand Down Expand Up @@ -452,7 +452,7 @@ jobs:
target: ${{ matrix.platform.target }}
manylinux: auto
docker-options: ${{ matrix.platform.maturin_docker_options }}
args: --release --locked --out dist --no-default-features --features production,self-update
args: --release --locked --out dist --no-default-features --features self-update
before-script-linux: |
if command -v yum &> /dev/null; then
yum update -y
Expand Down Expand Up @@ -525,7 +525,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: musllinux_1_1
args: --release --locked --out dist --features production,self-update
args: --release --locked --out dist --features self-update
- name: "Test wheel"
if: matrix.target == 'x86_64-unknown-linux-musl'
uses: addnab/docker-run-action@v3
Expand Down Expand Up @@ -598,7 +598,7 @@ jobs:
with:
target: ${{ matrix.platform.target }}
manylinux: musllinux_1_1
args: ${{ matrix.platform.arch == 'ppc64le' && '--profile release-no-lto' || '--release'}} --locked --out dist --features production,self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}}
args: ${{ matrix.platform.arch == 'ppc64le' && '--profile release-no-lto' || '--release'}} --locked --out dist --features self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}}
docker-options: ${{ matrix.platform.maturin_docker_options }}
rust-toolchain: ${{ matrix.platform.toolchain || null }}
- uses: uraimo/run-on-arch-action@v2
Expand Down

0 comments on commit a77334b

Please sign in to comment.