Skip to content

Commit ac82175

Browse files
committed
CI & CD: Nightly builds from source + badge
1 parent 209c501 commit ac82175

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Nightly build(source)
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 */2 * *'
7+
8+
jobs:
9+
src-build-linux:
10+
uses: ./.github/workflows/test-src-build-linux.yml
11+
src-build-macos:
12+
uses: ./.github/workflows/test-src-build-macos.yml
13+
src-build-windows:
14+
uses: ./.github/workflows/test-src-build-windows.yml

.github/workflows/test-src-build-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Build from source(Linux)
22

33
on:
44
workflow_dispatch:
5+
workflow_call:
56
pull_request:
67
branches: [master]
78
types: [opened, reopened, edited]
@@ -23,7 +24,7 @@ on:
2324
- 'pyproject.toml'
2425

2526
concurrency:
26-
group: ${{ github.workflow }}-${{ github.ref }}
27+
group: src_linux-${{ github.ref }}
2728
cancel-in-progress: true
2829

2930
jobs:

.github/workflows/test-src-build-macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Build from source(macOS)
22

33
on:
44
workflow_dispatch:
5+
workflow_call:
56
pull_request:
67
branches: [master]
78
types: [opened, reopened, edited]
@@ -21,7 +22,7 @@ on:
2122
- 'pyproject.toml'
2223

2324
concurrency:
24-
group: ${{ github.workflow }}-${{ github.ref }}
25+
group: src_macos-${{ github.ref }}
2526
cancel-in-progress: true
2627

2728
jobs:

.github/workflows/test-src-build-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Build from source(Windows)
22

33
on:
44
workflow_dispatch:
5+
workflow_call:
56
pull_request:
67
branches: [master]
78
types: [opened, reopened, edited]
@@ -21,7 +22,7 @@ on:
2122
- 'pyproject.toml'
2223

2324
concurrency:
24-
group: ${{ github.workflow }}-${{ github.ref }}
25+
group: src_windows-${{ github.ref }}
2526
cancel-in-progress: true
2627

2728
jobs:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pillow-heif
22

33
[![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)
4-
[![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)
4+
[![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)
55
[![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)
66
[![docs](https://readthedocs.org/projects/pillow-heif/badge/?version=latest)](https://pillow-heif.readthedocs.io/en/latest/?badge=latest)
77
[![codecov](https://codecov.io/gh/bigcat88/pillow_heif/branch/master/graph/badge.svg?token=JY64F2OL6V)](https://codecov.io/gh/bigcat88/pillow_heif)

0 commit comments

Comments
 (0)