update #5
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] | |
| 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) Make qhexedit binary | |
| working-directory: ${{ runner.temp }} | |
| run: | | |
| mkdir qhexedit | |
| cd qhexedit | |
| qmake ${{ env.SOURCE_DIR }}/example/qhexedit.pro | |
| make -j12 | |
| - name: (4) Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: (5) Install Python Dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build | |
| - name: (6) Make Python Wheel | |
| working-directory: ${{ runner.temp }} | |
| run: | | |
| 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 . | |
| python -m build --verbose | |
| - name: (7) Save Python Wheel | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: wheels | |
| path: ${{ runner.temp }}/python/dist |