Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .azure-pipelines/ansible-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ trigger:
- main
- release/*

pr:
autoCancel: true
drafts: false
branches:
include:
- main
- release/*

pool:
name: SuperBench CI
demands: ansible-agent
Expand Down
8 changes: 8 additions & 0 deletions .azure-pipelines/cpu-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ trigger:
- main
- release/*

pr:
autoCancel: true
drafts: false
branches:
include:
- main
- release/*

strategy:
matrix:
python-3.7:
Expand Down
8 changes: 8 additions & 0 deletions .azure-pipelines/cuda-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ trigger:
- main
- release/*

pr:
autoCancel: true
drafts: false
branches:
include:
- main
- release/*

pool:
name: SuperBench CI
demands: cuda-agent
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,28 @@ on:
branches:
- main
- release/*
types:
- opened
- synchronize
- reopened
- ready_for_review
- converted_to_draft
- closed
release:
types:
- published
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || format('{0}-{1}', github.event_name, github.ref) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
BUILDKIT_IMAGE: mcr.microsoft.com/oss/v2/moby/buildkit:v0.33.1-6@sha256:0bf1f35cb440e6f19c2e154ed007d798c206ad899c9495a2f8e9276eebfaaf69

jobs:
docker-build:
if: ${{ !github.event.pull_request.draft && github.event.action != 'closed' }}
name: Docker build ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
timeout-minutes: 1200
Expand Down Expand Up @@ -193,7 +205,7 @@ jobs:
run: echo ${{ steps.docker_build.outputs.digest }}
docker-merge:
needs: docker-build
if: ${{ !cancelled() }}
if: ${{ !cancelled() && github.event_name != 'pull_request' }}
name: Docker merge ${{ matrix.name }}
runs-on: self-hosted
timeout-minutes: 300
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,23 @@ on:
branches:
- main
- release/*
types:
- opened
- synchronize
- reopened
- ready_for_review
- converted_to_draft
- closed
schedule:
- cron: "30 1 * * 1"

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || format('{0}-{1}', github.event_name, github.ref) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
analyze:
if: ${{ !github.event.pull_request.draft && github.event.action != 'closed' }}
name: CodeQL analyze ${{ matrix.language }}
runs-on: ubuntu-latest
permissions:
Expand All @@ -38,6 +50,7 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1190a975f95ce23525efb6a3fc21ea29567c1b52 # v3.38.2
analyze-cpp:
if: ${{ !github.event.pull_request.draft && github.event.action != 'closed' }}
name: CodeQL analyze cpp
runs-on: ubuntu-latest
container:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- main
- release/*

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || format('{0}-{1}', github.event_name, github.ref) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
docs-build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
- release/*

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || format('{0}-{1}', github.event_name, github.ref) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
spelling:
name: Spelling check
Expand Down
Loading