split CI jobs

This commit is contained in:
Kiara Grouwstra 2025-07-26 16:12:46 +02:00
parent f1e7eba88d
commit 0dbd327975
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
9 changed files with 88 additions and 43 deletions

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-data-model
image: bash
commands:
- nix-shell --run 'nix-unit ./deployment/data-model-test.nix'

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-deployment-basic
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-basic -L

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-deployment-cli
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-cli -L

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-deployment-panel
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-panel -L

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-mastodon
image: bash
commands:
- nix build .#checks.x86_64-linux.test-mastodon-service -L

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-panel
image: bash
commands:
- nix-build -A tests.panel

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-peertube
image: bash
commands:
- nix build .#checks.x86_64-linux.test-peertube-service -L

View file

@ -0,0 +1,11 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: check-pre-commit
image: bash
commands:
- nix-build -A tests

View file

@ -1,43 +0,0 @@
when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: build
image: bash
commands:
- nix-build -A tests
- name: check-pre-commit
image: bash
commands:
- nix-build -A tests
- name: check-data-model
image: bash
commands:
- nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
- name: check-mastodon
image: bash
commands:
- nix build .#checks.x86_64-linux.test-mastodon-service -L
- name: check-peertube
image: bash
commands:
- nix build .#checks.x86_64-linux.test-peertube-service -L
- name: check-panel
image: bash
commands:
- nix-build -A tests.panel
- name: check-deployment-basic
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-basic -L
- name: check-deployment-cli
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-cli -L
- name: check-deployment-panel
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-panel -L