Skip to content

Commit

Permalink
Trigger separately
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Jun 16, 2024
1 parent 77010d4 commit e931a5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 10 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
steps:
- label: "Triggering pipelines"
- label: "Triggering Pipelines (Pull Request)"
if: "build.pull_request.base_branch == 'main'"
agents:
queue: "juliagpu"
plugins:
Expand Down Expand Up @@ -27,3 +28,11 @@ steps:
command: "buildkite-agent pipeline upload .buildkite/documentation.yml"
agents:
queue: "juliagpu"

- label: "Triggering Pipelines (Main Branch / Tag)"
if: build.branch == "main" || build.tag != null
agents:
queue: "juliagpu"
command: |
buildkite-agent pipeline upload .buildkite/testing.yml
buildkite-agent pipeline upload .buildkite/documentation.yml
8 changes: 2 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:
push:
branches:
- main
paths:
- "src/**"
- "ext/**"
- "test/**"
- "Project.toml"

concurrency:
# Skip intermediate builds: always.
Expand Down Expand Up @@ -77,6 +72,7 @@ jobs:

downstream:
name: Downstream ${{ matrix.package.repo }}/${{ matrix.package.group }}
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }} && github.base_ref == github.event.repository.default_branch
runs-on: ${{ matrix.os }}
timeout-minutes: 60
env:
Expand Down Expand Up @@ -131,7 +127,7 @@ jobs:
fail_ci_if_error: true

downgrade:
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }} && github.base_ref == github.event.repository.default_branch
name: Downgrade Julia ${{ matrix.version }} - ${{ github.event_name }}
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit e931a5e

Please sign in to comment.