diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index 124046d258..c0eb8c1d55 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -12,6 +12,7 @@ permissions: jobs: bandit: + if: false name: Bandit strategy: matrix: diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 0ed1799fbe..6af4c49d8e 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -12,6 +12,7 @@ permissions: jobs: ubuntu-build: + if: false name: Build - Ubuntu strategy: matrix: @@ -128,205 +129,3 @@ jobs: - name: Test working-directory: ${{github.workspace}}/build run: ctest -C ${{matrix.build_type}} --output-on-failure -L "umf|loader|validation|tracing|unit|urtrace" - - fuzztest: - name: Fuzz tests short - uses: ./.github/workflows/build-fuzz-reusable.yml - with: - test_label: "fuzz-short" - - level-zero: - name: Level Zero - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: L0 - runner_name: L0 - - level-zero-v2: - name: Level Zero V2 - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: L0_V2 - runner_name: L0 - - level-zero-static: - name: Level Zero static - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: L0 - runner_name: L0 - static_loader: ON - static_adapter: ON - - opencl: - name: OpenCL - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: OPENCL - runner_name: OPENCL - platform: "Intel(R) OpenCL" - - cuda: - name: CUDA - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: CUDA - runner_name: CUDA - - hip: - name: HIP - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: HIP - runner_name: HIP - - native-cpu: - name: Native CPU - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: NATIVE_CPU - runner_name: NATIVE_CPU - - # Native CPU jobs are here to force the loader to be used (UR will not use the loader if there is only one target) - combined-opencl-native-cpu: - name: OpenCL + Native CPU (Loader) - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: OPENCL - other_adapter_name: NATIVE_CPU - runner_name: OPENCL - platform: "OPENCL:Intel(R) OpenCL" - - combined-level-zero-native-cpu: - name: Level Zero + Native CPU (Loader) - uses: ./.github/workflows/build-hw-reusable.yml - with: - adapter_name: L0 - other_adapter_name: NATIVE_CPU - runner_name: L0 - - e2e-level-zero: - name: E2E L0 - permissions: - contents: read - pull-requests: write - needs: [ubuntu-build, level-zero] - uses: ./.github/workflows/e2e_level_zero.yml - - e2e-opencl: - name: E2E OpenCL - permissions: - contents: read - pull-requests: write - needs: [ubuntu-build, opencl] - uses: ./.github/workflows/e2e_opencl.yml - - e2e-cuda: - name: E2E CUDA - permissions: - contents: read - pull-requests: write - needs: [ubuntu-build, cuda] - uses: ./.github/workflows/e2e_cuda.yml - - windows-build: - name: Build - Windows - strategy: - matrix: - os: ['windows-2019', 'windows-2022'] - adapter: [ - {name: None, var: ''}, {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON'}, - {name: None, var: ''}, {name: L0_V2, var: '-DUR_BUILD_ADAPTER_L0_V2=ON'}, - {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'} - ] - - # TODO: building level zero loader on windows-2019 and clang-cl is currently broken - exclude: - - os: 'windows-2019' - adapter: {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON'} - - os: 'windows-2019' - adapter: {name: L0_V2, var: '-DUR_BUILD_ADAPTER_L0_V2=ON'} - - os: 'windows-2019' - adapter: {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'} - - adapter: {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON'} - compiler: {c: clang-cl, cxx: clang-cl} - - adapter: {name: L0_V2, var: '-DUR_BUILD_ADAPTER_L0_V2=ON'} - compiler: {c: clang-cl, cxx: clang-cl} - - adapter: {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'} - compiler: {c: clang-cl, cxx: clang-cl} - - build_type: [Debug, Release] - compiler: [{c: cl, cxx: cl}, {c: clang-cl, cxx: clang-cl}] - include: - - compiler: {c: clang-cl, cxx: clang-cl} - toolset: "-T ClangCL" - - os: 'windows-2022' - adapter: {name: L0, var: '-DUR_BUILD_ADAPTER_L0=ON -DUR_STATIC_ADAPTER_L0=ON'} - build_type: 'Release' - compiler: {c: cl, cxx: cl} - - runs-on: ${{matrix.os}} - - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - - name: Install hwloc - run: vcpkg install hwloc:x64-windows - - - name: Configure CMake - env: - VCPKG_PATH: "C:/vcpkg/packages/hwloc_x64-windows" - run: > - cmake - -B${{github.workspace}}/build - ${{matrix.toolset}} - -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" - -DCMAKE_C_COMPILER=${{matrix.compiler.c}} - -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} - -DCMAKE_POLICY_DEFAULT_CMP0094=NEW - -DUR_ENABLE_TRACING=ON - -DUR_DEVELOPER_MODE=ON - -DUR_BUILD_TESTS=ON - -DUR_FORMAT_CPP_STYLE=OFF - -DUR_CONFORMANCE_TEST_LOADER=OFF - ${{matrix.adapter.var}} - - - name: Build all - run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS - - - name: Test - working-directory: ${{github.workspace}}/build - run: ctest -C ${{matrix.build_type}} --output-on-failure -L "umf|loader|validation|tracing|unit|urtrace" - - macos-build: - name: Build - MacOS - strategy: - matrix: - os: ['macos-13'] - runs-on: ${{matrix.os}} - - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 - with: - python-version: 3.9 - - - name: Install prerequisites - run: python3 -m pip install -r third_party/requirements.txt - - - name: Install hwloc - run: brew install hwloc - - - name: Configure CMake - run: > - cmake - -B${{github.workspace}}/build - -DUR_ENABLE_TRACING=ON - -DUR_DEVELOPER_MODE=ON - -DCMAKE_BUILD_TYPE=Release - -DUR_BUILD_TESTS=ON - -DUR_FORMAT_CPP_STYLE=ON - -DUMF_ENABLE_POOL_TRACKING=ON - - name: Build - run: cmake --build ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fdc5d0c0c0..77af22dfd4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,6 +11,7 @@ permissions: jobs: analyze-ubuntu: + if: false name: Analyze on Ubuntu runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }} permissions: diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 8c681b372f..b4341bdf8b 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -16,7 +16,7 @@ jobs: coverity: name: Coverity # run only on upstream; forks don't have token for upstream's cov project - if: github.repository == 'oneapi-src/unified-memory-framework' + # if: github.repository == 'oneapi-src/unified-memory-framework' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/source-checks.yml b/.github/workflows/source-checks.yml index e73f403320..5b4e3a4ec4 100644 --- a/.github/workflows/source-checks.yml +++ b/.github/workflows/source-checks.yml @@ -11,6 +11,7 @@ permissions: jobs: source-checks: + if: false name: Source Checks strategy: matrix: diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index c2ef1d47e7..ba7271180f 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -18,6 +18,7 @@ permissions: jobs: linux: + if: false name: Trivy runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }} permissions: