Skip to content

testing: used already existing ENABLE_SCOPYJS as a variable #523

testing: used already existing ENABLE_SCOPYJS as a variable

testing: used already existing ENABLE_SCOPYJS as a variable #523

Workflow file for this run

name: Build & Test
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
- '**.rst'
- 'testing_results/**'
- '.clang-format'
- '.cmake-format'
- '.gitignore'
- '**/.gitignore'
- '.github/workflows/license-header.yml'
- '.github/workflows/generate_doc.yml'
- '.github/workflows/clang-format.yml'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
- '**.rst'
- 'testing_results/**'
- '.clang-format'
- '.cmake-format'
- '.gitignore'
- '**/.gitignore'
- '.github/workflows/license-header.yml'
- '.github/workflows/generate_doc.yml'
- '.github/workflows/clang-format.yml'
workflow_dispatch:
inputs:
docker_tag:
description: 'Docker image tag'
required: true
default: 'latest'
type: choice
options:
- latest
- testing
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write # Needed to upload artifacts.
artifact-metadata: write
checks: write
actions: write
jobs:
docker_tag:
# Only run this job if not manually triggered
if: github.event_name != 'workflow_dispatch'
uses: ./.github/workflows/get_docker_tag.yml
appimage-x86_64:
needs: docker_tag
if: always() && (needs.docker_tag.result == 'success' || needs.docker_tag.result == 'skipped')
uses: ./.github/workflows/appimage-x86_64.yml
with:
docker_tag: ${{ inputs.docker_tag || needs.docker_tag.outputs.docker_tag }}
appimage-arm64:
needs: docker_tag
if: always() && (needs.docker_tag.result == 'success' || needs.docker_tag.result == 'skipped')
uses: ./.github/workflows/appimage-arm64.yml
with:
docker_tag: ${{ inputs.docker_tag || needs.docker_tag.outputs.docker_tag }}
appimage-armhf:
needs: docker_tag
if: always() && (needs.docker_tag.result == 'success' || needs.docker_tag.result == 'skipped')
uses: ./.github/workflows/appimage-armhf.yml
with:
docker_tag: ${{ inputs.docker_tag || needs.docker_tag.outputs.docker_tag }}
mingw:
needs: docker_tag
if: always() && (needs.docker_tag.result == 'success' || needs.docker_tag.result == 'skipped')
uses: ./.github/workflows/mingwbuild.yml
with:
docker_tag: ${{ inputs.docker_tag || needs.docker_tag.outputs.docker_tag }}
ubuntu-build:
needs: docker_tag
if: always() && (needs.docker_tag.result == 'success' || needs.docker_tag.result == 'skipped')
uses: ./.github/workflows/ubuntubuild.yml
with:
docker_tag: ${{ inputs.docker_tag || needs.docker_tag.outputs.docker_tag }}
flatpak:
needs: docker_tag
if: always() && (needs.docker_tag.result == 'success' || needs.docker_tag.result == 'skipped')
uses: ./.github/workflows/linuxflatpakbuild.yml
with:
docker_tag: ${{ inputs.docker_tag || needs.docker_tag.outputs.docker_tag }}