dev: refactor task build and move integration tests around #321
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: "Release" | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
paths-ignore: | |
- "docs/**" | |
- "mkdocs.yml" | |
- "requirements.in" | |
- "requirements.txt" | |
workflow_dispatch: | |
inputs: | |
ref: | |
description: 'Git ref (tag or branch) to release' | |
required: true | |
default: 'main' | |
type: string | |
concurrency: | |
group: "release-${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || github.ref_name }}" | |
cancel-in-progress: false | |
jobs: | |
pipeline: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- system: aarch64-linux | |
runs-on: '["self-hosted", "linux", "ARM64"]' | |
- system: x86_64-linux | |
runs-on: '["self-hosted", "linux", "X64"]' | |
- system: aarch64-darwin | |
runs-on: '["self-hosted", "macOS", "ARM64"]' | |
- system: x86_64-darwin | |
runs-on: '["macos-13"]' | |
uses: ./.github/workflows/release-per-system.yml | |
secrets: inherit | |
with: | |
system: ${{ matrix.system }} | |
runs-on: ${{ matrix.runs-on }} | |
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || '' }} | |
containers: | |
uses: ./.github/workflows/containers.yml | |
secrets: inherit | |
with: | |
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || '' }} |