From 844880907866c93043e07dd136f36af67183dd76 Mon Sep 17 00:00:00 2001 From: Abdessattar Sassi <457645+abdes@users.noreply.github.com> Date: Sat, 22 Apr 2023 11:25:36 +0400 Subject: [PATCH] chore: combine CI dev builds using callable workflows --- .github/workflows/all-dev-builds.yml | 11 +++++++++++ .github/workflows/macos-builds.yml | 2 +- .github/workflows/ubuntu-builds.yml | 2 +- .github/workflows/windows-builds.yml | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/all-dev-builds.yml diff --git a/.github/workflows/all-dev-builds.yml b/.github/workflows/all-dev-builds.yml new file mode 100644 index 0000000..32b3ed3 --- /dev/null +++ b/.github/workflows/all-dev-builds.yml @@ -0,0 +1,11 @@ +name: Matrix Development Builds + +on: [push, pull_request] + +jobs: + Linux: + uses: ./.github/workflows/ubuntu-builds.yml + Windows: + uses: ./.github/workflows/windows-builds.yml + MacOS: + uses: ./.github/workflows/macos-builds.yml diff --git a/.github/workflows/macos-builds.yml b/.github/workflows/macos-builds.yml index 030026e..cbe40af 100644 --- a/.github/workflows/macos-builds.yml +++ b/.github/workflows/macos-builds.yml @@ -1,6 +1,6 @@ name: macos-builds -on: [push, pull_request] +on: workflow_call env: CMAKE_VERSION: 3.21.1 diff --git a/.github/workflows/ubuntu-builds.yml b/.github/workflows/ubuntu-builds.yml index 68de447..e3477ae 100644 --- a/.github/workflows/ubuntu-builds.yml +++ b/.github/workflows/ubuntu-builds.yml @@ -1,6 +1,6 @@ name: ubuntu-builds -on: [push, pull_request] +on: workflow_call env: CMAKE_VERSION: 3.21.1 diff --git a/.github/workflows/windows-builds.yml b/.github/workflows/windows-builds.yml index 7cabc01..34d9289 100644 --- a/.github/workflows/windows-builds.yml +++ b/.github/workflows/windows-builds.yml @@ -1,6 +1,6 @@ name: windows-builds -on: [push, pull_request] +on: workflow_call env: CMAKE_VERSION: 3.21.1