Skip to content

Commit

Permalink
Add github_commit_status to all pipeline jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Sep 10, 2024
1 parent 00b2425 commit cb240a4
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# For convenience with the many install_swiftpm_dependencies steps, we declare agents and env for macOS in the root, then specialize the fewer remaining steps
agents:
queue: mac
Expand All @@ -7,11 +10,17 @@ env:
steps:
- label: ":sleuth_or_spy: Lint"
command: make lint
notify:
- github_commit_status:
context: Lint
agents:
queue: default

- label: ":microscope: Test"
command: make test
notify:
- github_commit_status:
context: Test
agents:
queue: default

Expand All @@ -22,34 +31,64 @@ steps:
retry:
manual:
permit_on_passed: true
notify:
- github_commit_status:
context: Danger - PR Check
agents:
queue: linter

- group: ":swift: install_swiftpm_dependencies Tests"
steps:
- label: ":swift: Standalone Swift Package - Autodetect"
command: tests/install_swiftpm_dependencies/test_scripts/test_package_automatic.sh
notify:
- github_commit_status:
context: Standalone Swift Package - Autodetect

- label: ":swift: Standalone Swift Package - Explicit"
command: tests/install_swiftpm_dependencies/test_scripts/test_package_explicit.sh
notify:
- github_commit_status:
context: Standalone Swift Package - Explicit

- label: ":xcode: Xcode Project - Autodetect"
command: tests/install_swiftpm_dependencies/test_scripts/test_project_automatic.sh
notify:
- github_commit_status:
context: Xcode Project - Autodetect

- label: ":xcode: Xcode Project - Explicit"
command: tests/install_swiftpm_dependencies/test_scripts/test_project_explicit.sh
notify:
- github_commit_status:
context: Xcode Project - Explicit

- label: ":xcode: Xcode Project - No Package.resolved"
command: tests/install_swiftpm_dependencies/test_scripts/test_project_no_package.sh
notify:
- github_commit_status:
context: Xcode Project - No Package.resolved

- label: ":xcode: Xcode Workspace - Autodetect"
command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_automatic.sh
notify:
- github_commit_status:
context: Xcode Workspace - Autodetect

- label: ":xcode: Xcode Workspace - Explicit"
command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_explicit.sh
notify:
- github_commit_status:
context: Xcode Workspace - Explicit

- label: ":xcode: Xcode Workspace and Project - Autodetect"
command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_and_project_automatic.sh
notify:
- github_commit_status:
context: Xcode Workspace and Project - Autodetect

- label: ":xcode: Xcode Workspace and Project - Explicit"
command: tests/install_swiftpm_dependencies/test_scripts/test_workspace_and_project_explicit.sh
notify:
- github_commit_status:
context: Xcode Workspace and Project - Explicit

0 comments on commit cb240a4

Please sign in to comment.