update #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linux Qt5 Release | |
| on: [push] | |
| defaults: | |
| run: | |
| shell: cmd | |
| env: | |
| SOURCE_DIR: ${{ github.workspace }} | |
| QT_VERSION: 5.15.2 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: (1) Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: (2) Install Qt | |
| uses: jurplel/install-qt-action@v3 | |
| with: | |
| aqtversion: '==3.1.*' | |
| version: ${{ env.QT_VERSION }} | |
| host: linux | |
| target: desktop | |
| arch: gcc_64 | |
| - name: (3) list files | |
| run: | | |
| ls ${{ env.SOURCE_DIR }} | |
| - name: (4) Make qhexedit.exe | |
| working-directory: ${{ runner.temp }} | |
| run: | | |
| mkdir qhexedit | |
| cd qhexedit | |
| qmake ${{ env.SOURCE_DIR }}/example/qhexedit.pro | |
| make -j12 | |
| - name: (5) Make Python Wheel | |
| working-directory: ${{ runner.temp }} | |
| run: | | |
| sudo apt install python3-build -y | |
| mkdir python | |
| cd python | |
| cp -r ${{ env.SOURCE_DIR }}/src . | |
| cp ${{ env.SOURCE_DIR }}/license.txt . | |
| cp ${{ env.SOURCE_DIR }}/readme.md . | |
| cp ${{ env.SOURCE_DIR }}/python/project.py . | |
| cp ${{ env.SOURCE_DIR }}/python/pyqt5-pyproject.toml pyproject.toml | |
| cp ${{ env.SOURCE_DIR }}/python/QHexEdit.sip . | |
| python3 -m build --verbose | |
| - name: (9) Save Python Wheel | |
| uses: actions/upload-artifact@master | |
| with: | |
| name: linux-qt5-qhexedit-wheel | |
| path: ${{ runner.temp }}/python/dist |