Skip to content

Commit b3f66da

Browse files
authored
Use standard zip for RHEL8 builds (tested) (#87)
- Verified zip is pre-installed in ubi8/python-312 container - Replace 7za with standard zip command - Use -0 flag for no compression (stored) to match original 7z behavior - Tested locally with podman: successfully builds 7.5M binary
1 parent 49ec257 commit b3f66da

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/pythonrelease.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ jobs:
5959
if: matrix.build == 'linux'
6060
shell: bash
6161
run: |
62-
dnf install -y make p7zip p7zip-plugins
6362
python -m pip install --upgrade pip
6463
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
6564
- name: Set up Python (Windows/Mac)
@@ -90,7 +89,7 @@ jobs:
9089
shell: bash
9190
run: |
9291
python -m PyInstaller -F ./scripts/sperf --paths .
93-
7za a -tzip ./dist/sperf-Linux ./dist/sperf -mx0
92+
cd ./dist && zip -0 sperf-Linux.zip sperf
9493
- name: Build binary (Windows/Mac)
9594
if: matrix.build != 'linux'
9695
shell: bash

0 commit comments

Comments
 (0)