Skip to content

chore: Add reusable workflow for AppImage builds. #55

chore: Add reusable workflow for AppImage builds.

chore: Add reusable workflow for AppImage builds. #55

name: Build, test, and deploy
on:
# Run this workflow every day at 3:00 UTC to update caches.
schedule: [cron: '0 3 * * *']
# Allow manual trigger.
workflow_dispatch:
pull_request:
branches: ["master"]
push:
branches: ["master"]
tags: ["v*"]
# Cancel old PR builds when pushing new commits.
concurrency:
group: build-test-deploy-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
#############################################################
# Preparation jobs
#############################################################
prepare:
name: Prepare
uses: ./.github/workflows/deploy-prepare.yml
#############################################################
# Build, test, and deploy jobs (PR and push)
#############################################################
appimage:
name: AppImage
uses: ./.github/workflows/deploy-appimage.yml
needs: [prepare]
with:
project-name: DebugTox
smoke-test: test/smoke-test.sh
test-files: test/smoke-test.sh
flatpak:
name: Flatpak
uses: ./.github/workflows/deploy-flatpak.yml
needs: [prepare]
with:
project-name: DebugTox
smoke-test: test/smoke-test.sh
test-files: test/smoke-test.sh
macos:
name: macOS
uses: ./.github/workflows/deploy-macos.yml
needs: [prepare]
with:
project-name: DebugTox
smoke-test: test/smoke-test.sh
test-files: test/smoke-test.sh
windows:
name: Windows
uses: ./.github/workflows/deploy-windows.yml
needs: [prepare]
with:
project-name: DebugTox
smoke-test: test/smoke-test.sh
test-files: test/smoke-test.sh