Add simple light animation #136
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: MacOS | |
| on: push | |
| jobs: | |
| buildMac: | |
| runs-on: macOS-latest | |
| steps: | |
| - name: checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install Qt | |
| uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: '6.8.0' | |
| extra: '--external 7z' | |
| arch: 'clang_64' | |
| modules: 'qtimageformats' | |
| - name: build Laigter | |
| shell: bash | |
| run: | | |
| qmake CONFIG+=release PREFIX=/usr | |
| make -j$(nproc) | |
| make INSTALL_ROOT=appdir install | |
| find appdir/ | |
| mkdir -p appdir/usr/lib | |
| macdeployqt laigter.app | |
| wget https://raw.githubusercontent.com/chchwy/macdeployqtfix/master/macdeployqtfix.py && chmod a+x macdeployqtfix.py | |
| ./macdeployqtfix.py laigter.app /usr/local/Cellar/qt/*/ | |
| zip -r laigter-mac.zip laigter.app | |
| - name: upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: mac-artifacts | |
| path: laigter-mac.zip | |
| - name: GitHub Releases | |
| uses: svenstaro/upload-release-action@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| file: laigter-mac.zip | |
| tag: ${{ github.ref }} |