|
| 1 | +name: Experiment - arm64 AppImage validation |
| 2 | + |
| 3 | +# Throwaway workflow to validate the arm64 leg of |
| 4 | +# liminal-hq/.github's package-arch-appimage.yml before trusting it in the |
| 5 | +# real release pipeline. Never merged to main - branch and file get deleted |
| 6 | +# once this has answered the question. |
| 7 | + |
| 8 | +on: |
| 9 | + push: |
| 10 | + branches: |
| 11 | + - experiment/arm64-appimage-validation |
| 12 | + workflow_dispatch: |
| 13 | + |
| 14 | +permissions: |
| 15 | + contents: read |
| 16 | + |
| 17 | +jobs: |
| 18 | + build-deb: |
| 19 | + name: Build .deb (arm64, existing ci-desktop image) |
| 20 | + runs-on: ubuntu-24.04-arm |
| 21 | + container: |
| 22 | + image: ghcr.io/liminal-hq/tauri-ci-desktop:latest |
| 23 | + credentials: |
| 24 | + username: ${{ github.actor }} |
| 25 | + password: ${{ secrets.GITHUB_TOKEN }} |
| 26 | + steps: |
| 27 | + - name: Checkout code |
| 28 | + uses: actions/checkout@v7 |
| 29 | + |
| 30 | + - name: Trust the GitHub workspace |
| 31 | + run: git config --global --add safe.directory "${GITHUB_WORKSPACE}" |
| 32 | + |
| 33 | + - name: Install pnpm |
| 34 | + uses: pnpm/action-setup@v4 |
| 35 | + |
| 36 | + - name: Setup Node.js |
| 37 | + uses: actions/setup-node@v6 |
| 38 | + with: |
| 39 | + node-version-file: .node-version |
| 40 | + cache: pnpm |
| 41 | + |
| 42 | + - name: Install Rust toolchain |
| 43 | + uses: dtolnay/rust-toolchain@stable |
| 44 | + |
| 45 | + - name: Cache Rust |
| 46 | + uses: swatinem/rust-cache@v2 |
| 47 | + |
| 48 | + - name: Install dependencies |
| 49 | + run: pnpm install --frozen-lockfile |
| 50 | + |
| 51 | + - name: Build .deb bundle |
| 52 | + run: pnpm --filter @emoji-picker/emoji-picker tauri build --bundles deb |
| 53 | + |
| 54 | + - name: Upload .deb artifact |
| 55 | + uses: actions/upload-artifact@v7 |
| 56 | + with: |
| 57 | + name: emoji-nook-deb-arm64 |
| 58 | + path: target/release/bundle/deb/*.deb |
| 59 | + if-no-files-found: error |
| 60 | + |
| 61 | + package-appimage: |
| 62 | + name: Package AppImage (arm64) |
| 63 | + needs: build-deb |
| 64 | + uses: liminal-hq/.github/.github/workflows/package-arch-appimage.yml@main |
| 65 | + with: |
| 66 | + runs-on: ubuntu-24.04-arm |
| 67 | + deb-artifact-name: emoji-nook-deb-arm64 |
| 68 | + app-version: arm64-validation |
| 69 | + secrets: inherit |
0 commit comments