mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
This branch can be used to test push events which is especially useful when working on the CI infrastructure. Signed-off-by: Richard Alpe <richard@bit42.se>
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: Kernelkit Trigger
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, labeled]
|
|
push:
|
|
branches:
|
|
- main
|
|
- ci-work
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-x86_64:
|
|
if: startsWith(github.repository, 'kernelkit/')
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
name: "infix"
|
|
target: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:main') && 'x86_64_minimal' || 'x86_64' }}
|
|
|
|
build-aarch64:
|
|
if: startsWith(github.repository, 'kernelkit/')
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
name: "infix"
|
|
target: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:main') && 'aarch64_minimal' || 'aarch64' }}
|
|
|
|
test-run-x86_64:
|
|
if: startsWith(github.repository, 'kernelkit/')
|
|
needs: build-x86_64
|
|
uses: ./.github/workflows/test.yml
|
|
with:
|
|
target: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:main') && 'x86_64_minimal' || 'x86_64' }}
|
|
name: "infix"
|
|
|
|
test-publish-x86_64:
|
|
if: startsWith(github.repository, 'kernelkit/')
|
|
needs: test-run-x86_64
|
|
uses: ./.github/workflows/publish.yml
|