Skip to content

Commit

Permalink
CI & CD: Nightly builds from source + badge
Browse files Browse the repository at this point in the history
  • Loading branch information
bigcat88 committed Oct 28, 2022
1 parent 209c501 commit ac82175
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/nightly-src-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Nightly build(source)

on:
workflow_dispatch:
schedule:
- cron: '0 0 */2 * *'

jobs:
src-build-linux:
uses: ./.github/workflows/test-src-build-linux.yml
src-build-macos:
uses: ./.github/workflows/test-src-build-macos.yml
src-build-windows:
uses: ./.github/workflows/test-src-build-windows.yml
3 changes: 2 additions & 1 deletion .github/workflows/test-src-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Build from source(Linux)

on:
workflow_dispatch:
workflow_call:
pull_request:
branches: [master]
types: [opened, reopened, edited]
Expand All @@ -23,7 +24,7 @@ on:
- 'pyproject.toml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: src_linux-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-src-build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Build from source(macOS)

on:
workflow_dispatch:
workflow_call:
pull_request:
branches: [master]
types: [opened, reopened, edited]
Expand All @@ -21,7 +22,7 @@ on:
- 'pyproject.toml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: src_macos-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-src-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Build from source(Windows)

on:
workflow_dispatch:
workflow_call:
pull_request:
branches: [master]
types: [opened, reopened, edited]
Expand All @@ -21,7 +22,7 @@ on:
- 'pyproject.toml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: src_windows-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pillow-heif

[![Analysis & Coverage](https://github.com/bigcat88/pillow_heif/actions/workflows/analysis-coverage.yml/badge.svg)](https://github.com/bigcat88/pillow_heif/actions/workflows/analysis-coverage.yml)
[![Build & Publish](https://github.com/bigcat88/pillow_heif/actions/workflows/publish-pypi.yml/badge.svg)](https://github.com/bigcat88/pillow_heif/actions/workflows/publish-pypi.yml)
[![Nightly build](https://github.com/bigcat88/pillow_heif/actions/workflows/nightly-src-build.yml/badge.svg)](https://github.com/andrey18106/pillow_heif/actions/workflows/nightly-src-build.yml)
[![Wheels test](https://github.com/bigcat88/pillow_heif/actions/workflows/test-wheels.yml/badge.svg)](https://github.com/bigcat88/pillow_heif/actions/workflows/test-wheels.yml)
[![docs](https://readthedocs.org/projects/pillow-heif/badge/?version=latest)](https://pillow-heif.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/bigcat88/pillow_heif/branch/master/graph/badge.svg?token=JY64F2OL6V)](https://codecov.io/gh/bigcat88/pillow_heif)
Expand Down

0 comments on commit ac82175

Please sign in to comment.