|
|
@@ -16,6 +16,9 @@ jobs:
|
|
|
|
|
|
win_bundle:
|
|
|
name: Windows supplementary files preparation
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
runs-on: ubuntu-22.04
|
|
|
steps:
|
|
|
- name: Check out cache
|
|
|
@@ -42,12 +45,18 @@ jobs:
|
|
|
|
|
|
build_linux_debug:
|
|
|
name: Linux debug build
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
uses: ./.github/workflows/build_template.yml
|
|
|
with:
|
|
|
CTEST_CONFIGURATION_TYPE: "Debug"
|
|
|
|
|
|
test_linux_debug:
|
|
|
name: Linux debug mode tests
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
needs: build_linux_debug
|
|
|
uses: ./.github/workflows/test_template.yml
|
|
|
strategy:
|
|
|
@@ -95,6 +104,9 @@ jobs:
|
|
|
|
|
|
debug_tests_report:
|
|
|
name: Debug mode tests summary and report
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
needs: test_linux_debug
|
|
|
runs-on: ubuntu-22.04
|
|
|
steps:
|
|
|
@@ -191,10 +203,16 @@ jobs:
|
|
|
|
|
|
build_linux_release:
|
|
|
name: Linux release build
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
uses: ./.github/workflows/build_template.yml
|
|
|
|
|
|
test_linux_release:
|
|
|
name: Linux release mode tests
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
needs: build_linux_release
|
|
|
uses: ./.github/workflows/test_template.yml
|
|
|
strategy:
|
|
|
@@ -242,6 +260,9 @@ jobs:
|
|
|
|
|
|
release_tests_report:
|
|
|
name: Release mode tests summary and report
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
needs: test_linux_release
|
|
|
runs-on: ubuntu-22.04
|
|
|
steps:
|
|
|
@@ -338,6 +359,9 @@ jobs:
|
|
|
|
|
|
pack_focal:
|
|
|
name: Focal x86_64 package
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
uses: ./.github/workflows/build_template.yml
|
|
|
with:
|
|
|
DISTR: focal
|
|
|
@@ -352,6 +376,9 @@ jobs:
|
|
|
|
|
|
build_clt_docker:
|
|
|
name: CLT docker image
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
needs: pack_focal
|
|
|
runs-on: ubuntu-22.04
|
|
|
env:
|
|
|
@@ -387,6 +414,9 @@ jobs:
|
|
|
|
|
|
build_aarch64:
|
|
|
name: Linux aarch64 build
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
uses: ./.github/workflows/build_template.yml
|
|
|
with:
|
|
|
arch: aarch64
|
|
|
@@ -395,6 +425,9 @@ jobs:
|
|
|
|
|
|
build_freebsd:
|
|
|
name: FreeBSD x86_64 build
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
uses: ./.github/workflows/build_template.yml
|
|
|
with:
|
|
|
DISTR: freebsd13
|
|
|
@@ -404,6 +437,9 @@ jobs:
|
|
|
|
|
|
build_windows:
|
|
|
name: Windows x64 build
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
uses: ./.github/workflows/build_template.yml
|
|
|
with:
|
|
|
DISTR: windows
|
|
|
@@ -416,6 +452,9 @@ jobs:
|
|
|
|
|
|
test_windows:
|
|
|
name: Windows tests
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
needs: [build_windows, win_bundle]
|
|
|
uses: ./.github/workflows/win_test_template.yml
|
|
|
strategy:
|
|
|
@@ -439,6 +478,9 @@ jobs:
|
|
|
|
|
|
windows_tests_report:
|
|
|
name: Windows tests summary and report
|
|
|
+ if: |
|
|
|
+ (github.event_name == 'push' && github.ref == 'refs/heads/master')
|
|
|
+ || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pack') && !contains(github.event.pull_request.labels.*.name, 'publish'))
|
|
|
needs: test_windows
|
|
|
runs-on: ubuntu-22.04
|
|
|
container:
|