Skip to content

Commit

Permalink
[quick ci] Test using a specific tag to filter GitHub ci jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-trinh committed Sep 14, 2024
1 parent b228a6d commit 56e7358
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 11 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-coverage:
# https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') }}
runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ concurrency:

jobs:
build-ios:
# https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/other-arch-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ concurrency:
cancel-in-progress: true

jobs:
build-other-architectures:
build-other-architectures-isolated:
# https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') }}
# The host should always be linux
runs-on: ubuntu-22.04
name: Build on ${{ matrix.distro }} ${{ matrix.arch }} ${{ matrix.endianness }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/other-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ concurrency:

jobs:
build-other-architectures:
# https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') }}
# The host should always be linux
runs-on: ubuntu-20.04
name: Build on ${{ matrix.distro }} ${{ matrix.arch }} ${{ matrix.endianness }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ubuntu-3rdparty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ concurrency:
cancel-in-progress: true

jobs:
build-ubuntu-dep-apt:
build-ubuntu-dep-apt-3rdparty:
# https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ubuntu-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ concurrency:
cancel-in-progress: true

jobs:
build-ubuntu-dep-apt:
build-ubuntu-dep-apt-contrib:
# https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

jobs:
build-ubuntu-dep-apt:
build-ubuntu-dep-apt-isolated:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ubuntu-ustk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ concurrency:
cancel-in-progress: true

jobs:
build-ubuntu-dep-apt:
build-ubuntu-dep-apt-ustk:
# https://michaelcurrin.github.io/dev-cheatsheets/cheatsheets/ci-cd/github-actions/skip.html
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/using-conditions-to-control-job-execution
if: ${{ ! contains(github.event.commits[0].message, '[quick ci]') }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true

jobs:
build-ubuntu-dep-apt:
build-ubuntu-dep-apt-venv:
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-windows-clang:
runs-on: ${{ matrix.os }}
defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ concurrency:
cancel-in-progress: true

jobs:
visp-conda:
build-windows-conda:
name: ${{ matrix.os }} ${{ matrix.compiler }} - Python ${{ matrix.python-version }} ${{ matrix.build_type }} ${{ matrix.cxx_options }}
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
name: check-windows-conda

needs:
- visp-conda
- build-windows-conda

runs-on: Ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-msvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-windows-msvc:
runs-on: ${{ matrix.os }}
defaults:
run:
Expand Down

0 comments on commit 56e7358

Please sign in to comment.