do not remove .pyc files that belong to main binary
#221
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: Build Demos | |
| concurrency: | |
| group: build-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: [ '**/*.md' ] | |
| schedule: | |
| - cron: "0 7 1/14 * *" | |
| workflow_dispatch: {} | |
| jobs: | |
| build: | |
| name: "${{ matrix.script }} (${{ matrix.arch }})" | |
| runs-on: ${{ matrix.runs-on }} | |
| strategy: | |
| matrix: | |
| include: | |
| - arch: x86_64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04 | |
| script: vkcube-glxgears-appimage | |
| - arch: aarch64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04-arm | |
| script: vkcube-glxgears-appimage | |
| - arch: x86_64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04 | |
| script: gtk3-demo-appimage | |
| - arch: aarch64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04-arm | |
| script: gtk3-demo-appimage | |
| - arch: x86_64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04 | |
| script: gtk4-demo-appimage | |
| - arch: aarch64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04-arm | |
| script: gtk4-demo-appimage | |
| - arch: x86_64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04 | |
| script: qt6-dbus-demo-appimage | |
| - arch: aarch64 | |
| platform: linux/amd64 | |
| runs-on: ubuntu-24.04-arm | |
| script: qt6-dbus-demo-appimage | |
| container: ghcr.io/pkgforge-dev/archlinux:latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Make AppImage | |
| run: sh ./useful-tools/demo/${{ matrix.script }}.sh | |
| - name: Upload artifact | |
| uses: actions/[email protected] | |
| with: | |
| name: AppImage-${{ matrix.arch }}-${{ matrix.script }} | |
| path: dist | |
| release: | |
| if: ${{ github.ref_name == 'main' }} | |
| needs: [build] | |
| permissions: write-all | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| pattern: AppImage-* | |
| merge-multiple: true | |
| - name: Release Artifacts | |
| uses: softprops/[email protected] | |
| with: | |
| name: "demos" | |
| tag_name: "demo" | |
| prerelease: false | |
| draft: false | |
| generate_release_notes: false | |
| make_latest: true | |
| files: | | |
| *.AppImage |