Implement the track export feature, with loop cue baked in. #50
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
| # This is a basic workflow to help you get started with Actions | |
| name: Linux Package | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install Qt | |
| uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: '6.11.0' | |
| modules: 'qtmultimedia' | |
| - name: Install build dept. | |
| run: | | |
| sudo apt update | |
| sudo apt install cmake | |
| # for linuxdeploy: https://github.com/AppImage/AppImageKit/wiki/FUSE | |
| sudo add-apt-repository universe | |
| sudo apt install libfuse2 | |
| - name: Get linuxdeploy | |
| run: | | |
| wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage | |
| wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage | |
| chmod +x linuxdeploy-*.AppImage | |
| - name: Build | |
| working-directory: ./ | |
| run: | | |
| cmake -B build . | |
| cmake --build build -j | |
| - name: Package | |
| run: | | |
| ./linuxdeploy-x86_64.AppImage --appdir AppDir -e build/thplayer -d assets/thplayer.desktop -i assets/thplayer.svg --icon-filename thplayer -p qt -o appimage | |
| mv TouHou_Player*.AppImage thplayer-linux.AppImage | |
| - name: Upload | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: Linux-Build | |
| path: thplayer-linux.AppImage |