Skip to content

Commit

Permalink
fix: try to fix compression of centos pyinstaller directory build
Browse files Browse the repository at this point in the history
  • Loading branch information
aplowman committed Dec 5, 2024
1 parent 7b9257e commit 6a6a727
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ jobs:
poetry config virtualenvs.in-project true
poetry config installer.modern-installation false
poetry install --without dev
# build with pyinstaller for CentOS (file)
cd pyinstaller
./make.sh hpcflow-${{ needs.bump-version.outputs.new_tag_name }}-linux INFO onefile
Expand All @@ -321,15 +321,15 @@ jobs:
echo $hpcflow_vers
echo $hpcflow_vers_expected
[ "$hpcflow_vers" = "$hpcflow_vers_expected" ]
# run test suite on the frozen app (file)
pyinstaller/dist/onefile/hpcflow-${{ needs.bump-version.outputs.new_tag_name }}-linux test
# build with pyinstaller for CentOS (folder)
cd pyinstaller
./make.sh hpcflow-${{ needs.bump-version.outputs.new_tag_name }}-linux-dir INFO onedir
cd ..
# version check (folder)
tag=${{ needs.bump-version.outputs.new_tag_name }}
tagNoV=${tag:1}
Expand All @@ -338,13 +338,16 @@ jobs:
echo $hpcflow_vers
echo $hpcflow_vers_expected
[ "$hpcflow_vers" = "$hpcflow_vers_expected" ]
# run test suite on the frozen app (folder)
pyinstaller/dist/onedir/hpcflow-${{ needs.bump-version.outputs.new_tag_name }}-linux-dir/hpcflow-${{ needs.bump-version.outputs.new_tag_name }}-linux-dir test
- name: Compress folder (folder)
working-directory: pyinstaller
run: ./compress.sh hpcflow-${{ needs.bump-version.outputs.new_tag_name }}-linux-dir 'onedir'
# Compress folder (folder)
cd pyinstaller
./compress.sh hpcflow-${{ needs.bump-version.outputs.new_tag_name }}-linux-dir 'onedir'
cd ..
- run: tree .

- name: Upload executable artifact (file)
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 6a6a727

Please sign in to comment.