From 08d5f6550a618c9bead438c2392c3d03a2ce4a16 Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Sat, 24 Feb 2024 10:19:46 +0100 Subject: [PATCH 1/2] Starting CI/CD workflows on 3.0 --- .github/workflows/linux.yml | 4 ++-- .github/workflows/macos.yml | 5 +++-- .github/workflows/windows_mingw.yml | 4 ++-- .github/workflows/windows_msvc.yml | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index db7f8288..9994762a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,9 +4,9 @@ on: schedule: - cron: '0 0 * * 1' push: - branches: [ master ] + branches: [ master, '[1-9].*' ] pull_request: - branches: [ master ] + branches: [ master, '[1-9].*' ] release: types: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b6d36e5b..d80566a4 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -4,9 +4,10 @@ on: schedule: - cron: '0 0 * * 1' push: - branches: [ master ] + branches: [ master, '[1-9].*' ] pull_request: - branches: [ master ] + branches: [ master, '[1-9].*' ] + release: types: - published diff --git a/.github/workflows/windows_mingw.yml b/.github/workflows/windows_mingw.yml index 6cff77fd..d5e00799 100644 --- a/.github/workflows/windows_mingw.yml +++ b/.github/workflows/windows_mingw.yml @@ -4,9 +4,9 @@ on: schedule: - cron: '0 0 * * 1' push: - branches: [ master ] + branches: [ master, '3.*' ] pull_request: - branches: [ master ] + branches: [ master, '3.*' ] release: types: diff --git a/.github/workflows/windows_msvc.yml b/.github/workflows/windows_msvc.yml index 056bf976..94c5aa6c 100644 --- a/.github/workflows/windows_msvc.yml +++ b/.github/workflows/windows_msvc.yml @@ -4,9 +4,9 @@ on: schedule: - cron: '0 0 * * 1' push: - branches: [ master ] + branches: [ master, '[1-9]*' ] pull_request: - branches: [ master ] + branches: [ master, '[1-9]*' ] release: types: From b94789970675f829fa90887d3728f2bec7abc37d Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Sat, 24 Feb 2024 10:22:20 +0100 Subject: [PATCH 2/2] start workflows on more events --- .github/workflows/macos.yml | 12 ++++++++++-- .github/workflows/windows_mingw.yml | 12 ++++++++++-- .github/workflows/windows_msvc.yml | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d80566a4..af12a99d 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -4,9 +4,17 @@ on: schedule: - cron: '0 0 * * 1' push: - branches: [ master, '[1-9].*' ] + branches: + - master + - '[1-9].*' pull_request: - branches: [ master, '[1-9].*' ] + types: + - synchronize + - reopened + - opened + branches: + - master + - '[1-9].*' release: types: diff --git a/.github/workflows/windows_mingw.yml b/.github/workflows/windows_mingw.yml index d5e00799..36148755 100644 --- a/.github/workflows/windows_mingw.yml +++ b/.github/workflows/windows_mingw.yml @@ -4,9 +4,17 @@ on: schedule: - cron: '0 0 * * 1' push: - branches: [ master, '3.*' ] + branches: + - master + - '[1-9].*' pull_request: - branches: [ master, '3.*' ] + types: + - synchronize + - reopened + - opened + branches: + - master + - '[1-9].*' release: types: diff --git a/.github/workflows/windows_msvc.yml b/.github/workflows/windows_msvc.yml index 94c5aa6c..828e2d8b 100644 --- a/.github/workflows/windows_msvc.yml +++ b/.github/workflows/windows_msvc.yml @@ -4,9 +4,17 @@ on: schedule: - cron: '0 0 * * 1' push: - branches: [ master, '[1-9]*' ] + branches: + - master + - '[1-9].*' pull_request: - branches: [ master, '[1-9]*' ] + types: + - synchronize + - reopened + - opened + branches: + - master + - '[1-9].*' release: types: