## Copyright 2022 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

name: continuous

permissions: read-all

on: [push, workflow_dispatch]

jobs:
  ################################################################################
  ################################################################################
  # GPU tests
  ################################################################################
  ###############################################################################
  
  ########################################
  # Linux DG2
  ########################################
  linux-DG2-JIT-INTERNAL-build:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/ubuntu:22.04
      runs-on: '[ "Linux", "docker", "build" ]'
      project: embree
      dpcpp-version: intel-llvm/sycl-rel_5_2_0-rk
      artifact-out: linux-DG2-JIT-INTERNAL-build
      artifact-path: ./build/*.tar.gz
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-DG2-JIT-INTERNAL -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target build

  linux-DG2-JIT-INTERNAL-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    needs: ["linux-DG2-JIT-INTERNAL-build"]
    with:
      image: embree/ubuntu:22.04
      options: --device=/dev/dri:/dev/dri
      runs-on: '[ "Linux", "docker", "dg2" ]'
      project: embree
      env-from-files: ./.github/workflows/gfx-ubuntu22-internal.env
      dpcpp-version: intel-llvm/sycl-rel_5_2_0-rk
      artifact-in: linux-DG2-JIT-INTERNAL-build
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-DG2-JIT-INTERNAL -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  linux-DG2-JIT-PUBLIC-build:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/ubuntu:22.04
      runs-on: '[ "Linux", "docker", "build" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
      artifact-out: linux-DG2-JIT-PUBLIC-build
      artifact-path: ./build/*.tar.gz
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-DG2-JIT-PUBLIC -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target build

  linux-DG2-JIT-PUBLIC-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    needs: ["linux-DG2-JIT-PUBLIC-build"]
    with:
      image: embree/ubuntu:22.04
      options: --device=/dev/dri:/dev/dri
      runs-on: '[ "Linux", "docker", "dg2" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-ubuntu22-public.env
      artifact-in: linux-DG2-JIT-PUBLIC-build
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-DG2-JIT-PUBLIC -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  linux-DG2-JIT-PUBLIC-ICX-build:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/ubuntu:22.04
      runs-on: '[ "Linux", "docker", "build" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-none.env
      dpcpp-version: intel/2024.1.0
      artifact-out: linux-DG2-JIT-PUBLIC-ICX-build
      artifact-path: ./build/*.tar.gz
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-DG2-JIT-PUBLIC-ICX -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target build

  linux-DG2-JIT-PUBLIC-ICX-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    needs: ["linux-DG2-JIT-PUBLIC-ICX-build"]
    with:
      image: embree/ubuntu:22.04
      options: --device=/dev/dri:/dev/dri
      runs-on: '[ "Linux", "docker", "dg2" ]'
      project: embree
      env-from-files: ./.github/workflows/gfx-ubuntu22-public.env
      dpcpp-version: intel/2024.1.0
      artifact-in: linux-DG2-JIT-PUBLIC-ICX-build
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-DG2-JIT-PUBLIC-ICX -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

#   ########################################
#   # Linux ATS-M
#   ########################################

  linux-ATSM-JIT-PUBLIC-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    needs: ["linux-DG2-JIT-PUBLIC-build"]
    with:
      image: embree/ubuntu:22.04
      options: --device=/dev/dri:/dev/dri
      runs-on: '[ "Linux", "docker", "atsm" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-ubuntu22-public.env
      artifact-in: linux-DG2-JIT-PUBLIC-build
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-DG2-JIT-PUBLIC -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  ########################################
  # Linux PVC
  ########################################

  linux-PVC-JIT-INTERNAL-build:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/ubuntu:22.04
      runs-on: '[ "Linux", "docker", "build" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
      artifact-out: linux-PVC-JIT-INTERNAL-build
      artifact-path: ./build/*.tar.gz
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-PVC-JIT-INTERNAL-SYCL-RC -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target build

  #  TODO: move to nightly
  linux-PVC-JIT-INTERNAL-test-1T:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    needs: ["linux-PVC-JIT-INTERNAL-build"]
    with:
      image: embree/ubuntu:22.04
      options: --device=/dev/dri:/dev/dri
      runs-on: '[ "Linux", "docker", "pvc" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-ubuntu22-internal.env
      artifact-in: linux-PVC-JIT-INTERNAL-build
      cmd: |
        export NEOReadDebugKeys=1
        export UseKmdMigration=0
        export EnableImplicitScaling=0
        export ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
        module load cmake/3.25.3
        cmake --preset linux-PVC-JIT-INTERNAL-SYCL-RC -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  linux-PVC-JIT-INTERNAL-test-2T:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    needs: ["linux-PVC-JIT-INTERNAL-build"]
    with:
      image: embree/ubuntu:22.04
      options: --device=/dev/dri:/dev/dri
      runs-on: '[ "Linux", "docker", "pvc" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-ubuntu22-internal.env
      artifact-in: linux-PVC-JIT-INTERNAL-build
      cmd: |
        export NEOReadDebugKeys=1
        export UseKmdMigration=0
        export ZE_FLAT_DEVICE_HIERARCHY=COMPOSITE
        module load cmake/3.25.3
        cmake --preset linux-PVC-JIT-INTERNAL-SYCL-RC -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  linux-PVC-JIT-INTERNAL-test-flat:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    needs: ["linux-PVC-JIT-INTERNAL-build"]
    with:
      image: embree/ubuntu:22.04
      options: --device=/dev/dri:/dev/dri
      runs-on: '[ "Linux", "docker", "pvc" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-ubuntu22-internal.env
      artifact-in: linux-PVC-JIT-INTERNAL-build
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-PVC-JIT-INTERNAL-SYCL-RC -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package


  #  linux-PVC-JIT-PUBLIC:
  #    secrets: inherit
  #    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
  #    with:
  #      image: embree/ubuntu:22.04
  #      runs-on: '[ "Linux", "docker", "build" ]'
  #      artifact-out: linux-PVC-JIT-PUBLIC
  #      artifact-path: ./build .ctest_conf
  #      cmd: |
  #        scripts/test.py configure platform:x64 compiler:dpcpp ispc:ispc1.16.1 isa:SSE2 build:RelWithAssert EMBREE_SYCL_SUPPORT:ON sycl:none tasking:TBB intensity:4
  #        scripts/test.py build --debug
  #        scripts/test.py build
  #
  #  linux-PVC-JIT-PUBLIC-test:
  #    secrets: inherit
  #    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
  #    needs: ["linux-PVC-JIT-PUBLIC"]
  #    with:
  #      image: embree/ubuntu:22.04
  #      options: --device=/dev/dri:/dev/dri
  #      runs-on: '[ "Linux", "docker", "pvc" ]'
  #      artifact-in: linux-PVC-JIT-PUBLIC
  #      cmd: |
  #        scripts/test.py test --debug
  #        scripts/test.py test


  ########################################
  # Windows DG2
  ########################################

  windows-DG2-JIT-build:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    with:
      force-delete: true
      runs-on: '[ "Windows", "NAS", "build" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env
      artifact-out: windows-DG2-JIT-build
      artifact-path: ./build/*.zip
      cmd: |
        cmake --preset windows-DG2-JIT-INTERNAL-L0RTAS -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target build

  windows-DG2-JIT-INTERNAL-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    needs: ["windows-DG2-JIT-build"]
    with:
      runs-on: '[ "Windows", "NAS", "dg2" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-windows-internal.env
      artifact-in: windows-DG2-JIT-build
      cmd: |
        cmake --preset windows-DG2-JIT-INTERNAL-L0RTAS -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  windows-DG2-JIT-PUBLIC-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    needs: ["windows-DG2-JIT-build"]
    with:
      runs-on: '[ "Windows", "NAS", "dg2" ]'
      project: embree
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-windows-public.env
      artifact-in: windows-DG2-JIT-build
      cmd: |
        cmake --preset windows-DG2-JIT-INTERNAL-L0RTAS -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  windows-DG2-JIT-ICX-build:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    with:
      runs-on: '[ "Windows", "NAS", "dg2" ]'
      project: embree
      dpcpp-version: oneAPI/compiler/2024.1
      env-from-files: ./.github/workflows/dpcpp-none.env ./.github/workflows/gfx-windows-public.env
      artifact-out: windows-DG2-JIT-ICX-build
      artifact-path: ./build/*.zip
      cmd: |
        cmake --preset nightly-windows-DG2-JIT-ICX -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target build

  windows-DG2-JIT-ICX-INTERNAL-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    needs: ["windows-DG2-JIT-ICX-build"]
    with:
      runs-on: '[ "Windows", "NAS", "dg2" ]'
      project: embree
      dpcpp-version: oneAPI/compiler/2024.1
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-windows-internal.env
      artifact-in: windows-DG2-JIT-ICX-build
      cmd: |
        cmake --preset nightly-windows-DG2-JIT-ICX -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

  windows-DG2-JIT-ICX-PUBLIC-test:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    needs: ["windows-DG2-JIT-ICX-build"]
    with:
      runs-on: '[ "Windows", "NAS", "dg2" ]'
      project: embree
      dpcpp-version: oneAPI/compiler/2024.1
      env-from-files: ./.github/workflows/dpcpp-sycl-nightly.env ./.github/workflows/gfx-windows-public.env
      artifact-in: windows-DG2-JIT-ICX-build
      cmd: |
        cmake --preset nightly-windows-DG2-JIT-ICX -DCMAKE_BUILD_TYPE=Release -DEMBREE_TESTING_INTENSITY=3
        cmake --build build --config Release --target test_package

#   ################################################################################
#   ################################################################################
#   # CPU tests
#   ################################################################################
#   ################################################################################

#   ########################################
#   # Linux
#   ########################################

  linux-fedora29-CLANG4:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/fedora:29
      runs-on: '[ "Linux", "docker", "avx512" ]'
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-fedora29-CLANG4 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  linux-fedora29-CLANG5-INT-ADDRSANITIZER:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/fedora:29
      runs-on: '[ "Linux", "docker", "build" ]'
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-fedora29-CLANG5-INT-ADDRSANITIZER -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=1
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  linux-fedora29-ICX:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/fedora:29
      runs-on: '[ "Linux", "docker", "avx512" ]'
      dpcpp-version: intel/2024.1.0
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-fedora29-ICX -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  linux-fedora32-ICX:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/fedora:32
      runs-on: '[ "Linux", "docker", "avx512" ]'
      dpcpp-version: intel/2024.1.0
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-fedora32-ICX -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  linux-ubuntu20_04-GCC-NAMESPACE:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/ubuntu:20.04
      runs-on: '[ "Linux", "docker", "build" ]'
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-ubuntu20_04-GCC-NAMESPACE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=1
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  linux-ubuntu20_04-ICX:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
    with:
      image: embree/ubuntu:20.04
      runs-on: '[ "Linux", "docker", "avx512" ]'
      dpcpp-version: intel/2024.1.0
      cmd: |
        module load cmake/3.25.3
        cmake --preset linux-ubuntu20_04-ICX -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package


  ########################################
  # Windows
  ########################################
  windows-V142:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    with:
      force-delete: true
      runs-on: '[ "Windows", "NAS", "build" ]'
      dpcpp-version: none
      cmd: |
        cmake --preset windows-V142 -D CMAKE_BUILD_TYPE=RelWithDebInfo -D EMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --target test_package

  windows-ICX:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
    with:
      force-delete: true
      runs-on: '[ "Windows", "NAS", "build", "avx512" ]'
      dpcpp-version: oneAPI/compiler/2024.1
      cmd: |
        cmake --preset windows-ICX -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  ########################################
  # MacOS
  ########################################

  macosx-ARM-CLANG-NEON-AVX2:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/macos.yml@main
    with:
      runs-on: '[ "macOS", "build", "arm" ]'
      cmd: |
        cmake --preset macos-ARM-CLANG-NEON-AVX2 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  macosx-ARM-CLANG-NEON:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/macos.yml@main
    with:
      runs-on: '[ "macOS", "build", "arm" ]'
      cmd: |
        cmake --preset macos-ARM-CLANG-NEON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  macosx-x64-CLANG:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/macos.yml@main
    with:
      runs-on: '[ "macOS", "build", "x86_64" ]'
      cmd: |
        cmake --preset macos-x64-CLANG -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package
  
  macosx-ARM-CLANG-NEON-AVX2-universal-binaries:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/macos.yml@main
    with:
      runs-on: '[ "macOS", "build", "arm" ]'
      cmd: |
        cmake --preset macos-ARM-CLANG-NEON-AVX2-UB -DCMAKE_BUILD_TYPE=RelWithDebInfo -DEMBREE_TESTING_INTENSITY=2 -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DEMBREE_BUILD_GLFW_FROM_SOURCE=ON -DEMBREE_ISPC_SUPPORT=OFF
        cmake --build build --config RelWithDebInfo --target build
        cmake --build build --config RelWithDebInfo --target test_package

  ########################################
  # Coverity
  ########################################

  static-analysis:
    secrets: inherit
    uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/static_analysis.yml@main
    with:
      project: Embree
      submodules: true
      coverity: true
      prebuild: >
        module load cmake/3.25.3 &&
        export NAS_LINUX=$STORAGE_PATH/packages/apps &&
        cmake --preset linux-coverity
      build: sh scripts/coverity.sh

  success:
    runs-on: ubuntu-latest
    needs:
      - linux-DG2-JIT-INTERNAL-test
      - linux-DG2-JIT-PUBLIC-test
      - linux-ATSM-JIT-PUBLIC-test
      - linux-DG2-JIT-PUBLIC-ICX-test
      - linux-PVC-JIT-INTERNAL-test-1T
      - linux-PVC-JIT-INTERNAL-test-2T
      - linux-PVC-JIT-INTERNAL-test-flat
      - windows-DG2-JIT-INTERNAL-test
      - windows-DG2-JIT-PUBLIC-test
      - windows-DG2-JIT-ICX-INTERNAL-test
      - windows-DG2-JIT-ICX-PUBLIC-test
      - linux-fedora29-CLANG4
      - linux-fedora29-CLANG5-INT-ADDRSANITIZER
      - linux-fedora29-ICX
      - linux-fedora32-ICX
      - linux-ubuntu20_04-GCC-NAMESPACE
      - linux-ubuntu20_04-ICX
      - windows-V142
      - windows-ICX
      - macosx-ARM-CLANG-NEON-AVX2
      - macosx-ARM-CLANG-NEON
      - macosx-x64-CLANG
      - macosx-ARM-CLANG-NEON-AVX2-universal-binaries
      - static-analysis


    if: failure() || cancelled()
    steps:
      - name: Failure
        run: |
          echo "::notice title=Success::Workflow failed"
          exit 1