From 126b98a36f459c535d4dd0320f897d5f8230a833 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 11:09:12 +0200 Subject: [PATCH 01/34] Update nightly.yml --- .github/workflows/nightly.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b841fa06d..3797c2717 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -135,6 +135,11 @@ jobs: if: matrix.generator == 'Ninja' uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 + - name: NMake Makefiles + if: matrix.generator == 'NMake Makefiles' + run: cmake -G "NMake Makefiles" + + - name: Configure MSVC environment uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 From 05c7c0d757635ebbd7e97cd33ae07e3b0fe175b6 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 11:15:18 +0200 Subject: [PATCH 02/34] Update nightly.yml --- .github/workflows/nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3797c2717..3f3e9d627 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -100,7 +100,7 @@ jobs: compiler: [{c: cl, cxx: cl}] shared_library: ['ON', 'OFF'] static_hwloc: ['ON', 'OFF'] - generator: ['Ninja', 'NMake Makefiles'] + generator: ['Ninja', 'NMake Makefiles', 'Unix Makefiles'] umfd_lib: ['ON', 'OFF'] runs-on: windows-latest @@ -136,8 +136,8 @@ jobs: uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 - name: NMake Makefiles - if: matrix.generator == 'NMake Makefiles' - run: cmake -G "NMake Makefiles" + if: matrix.generator == 'Unix Makefiles' + run: cmake -G "Unix Makefiles" - name: Configure MSVC environment From da1540afe4d1c59c93d4df485c59b93f99a9af4e Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 11:29:58 +0200 Subject: [PATCH 03/34] Update nightly.yml --- .github/workflows/nightly.yml | 472 +++++++++++++++++----------------- 1 file changed, 236 insertions(+), 236 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3f3e9d627..418c3c74c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -4,8 +4,8 @@ name: Nightly # This job is run at 04:00 UTC every day or on demand. on: workflow_dispatch: - schedule: - - cron: '0 4 * * *' + # schedule: + # - cron: '0 4 * * *' permissions: contents: read @@ -15,82 +15,82 @@ env: INSTALL_DIR: "${{github.workspace}}/build/install" jobs: - fuzz-test: - name: Fuzz test - strategy: - fail-fast: false - matrix: - build_type: [Debug, Release] - compiler: [{c: clang, cxx: clang++}] + # fuzz-test: + # name: Fuzz test + # strategy: + # fail-fast: false + # matrix: + # build_type: [Debug, Release] + # compiler: [{c: clang, cxx: clang++}] - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 - - - name: Install apt packages - run: | - sudo apt-get update - sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev - - - name: Configure CMake - run: > - cmake - -B ${{github.workspace}}/build - -DCMAKE_BUILD_TYPE=${{matrix.build_type}} - -DCMAKE_C_COMPILER=${{matrix.compiler.c}} - -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} - -DUMF_TESTS_FAIL_ON_SKIP=ON - -DUMF_DEVELOPER_MODE=ON - -DUMF_BUILD_FUZZTESTS=ON - - - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --verbose -j$(nproc) - - - name: Fuzz long test - working-directory: ${{github.workspace}}/build - run: ctest -C ${{matrix.build_type}} --output-on-failure --verbose -L "fuzz-long" - - valgrind: - name: Valgrind - strategy: - fail-fast: false - matrix: - tool: ['memcheck', 'drd', 'helgrind'] - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 - - - name: Install apt packages - run: | - sudo apt-get update - sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev valgrind - - - name: Configure CMake - run: > - cmake - -B ${{github.workspace}}/build - -DCMAKE_BUILD_TYPE=Debug - -DUMF_FORMAT_CODE_STYLE=OFF - -DUMF_DEVELOPER_MODE=ON - -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON - -DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF - -DUMF_BUILD_CUDA_PROVIDER=OFF - -DUMF_USE_VALGRIND=1 - -DUMF_TESTS_FAIL_ON_SKIP=ON - - - name: Build - run: cmake --build ${{github.workspace}}/build --config Debug -j$(nproc) - - - name: Run tests under valgrind - run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build ${{matrix.tool}} + # runs-on: ubuntu-latest + + # steps: + # - name: Checkout repository + # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + # with: + # fetch-depth: 0 + + # - name: Install apt packages + # run: | + # sudo apt-get update + # sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev + + # - name: Configure CMake + # run: > + # cmake + # -B ${{github.workspace}}/build + # -DCMAKE_BUILD_TYPE=${{matrix.build_type}} + # -DCMAKE_C_COMPILER=${{matrix.compiler.c}} + # -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} + # -DUMF_TESTS_FAIL_ON_SKIP=ON + # -DUMF_DEVELOPER_MODE=ON + # -DUMF_BUILD_FUZZTESTS=ON + + # - name: Build + # run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --verbose -j$(nproc) + + # - name: Fuzz long test + # working-directory: ${{github.workspace}}/build + # run: ctest -C ${{matrix.build_type}} --output-on-failure --verbose -L "fuzz-long" + + # valgrind: + # name: Valgrind + # strategy: + # fail-fast: false + # matrix: + # tool: ['memcheck', 'drd', 'helgrind'] + # runs-on: ubuntu-latest + + # steps: + # - name: Checkout repository + # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + # with: + # fetch-depth: 0 + + # - name: Install apt packages + # run: | + # sudo apt-get update + # sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev valgrind + + # - name: Configure CMake + # run: > + # cmake + # -B ${{github.workspace}}/build + # -DCMAKE_BUILD_TYPE=Debug + # -DUMF_FORMAT_CODE_STYLE=OFF + # -DUMF_DEVELOPER_MODE=ON + # -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON + # -DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF + # -DUMF_BUILD_CUDA_PROVIDER=OFF + # -DUMF_USE_VALGRIND=1 + # -DUMF_TESTS_FAIL_ON_SKIP=ON + + # - name: Build + # run: cmake --build ${{github.workspace}}/build --config Debug -j$(nproc) + + # - name: Run tests under valgrind + # run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build ${{matrix.tool}} Windows-generators: name: Windows ${{matrix.generator}} generator @@ -190,173 +190,173 @@ jobs: ${{ matrix.umfd_lib == 'ON' && '--umfd-lib' || ''}} ${{ matrix.static_hwloc == 'ON' && '--hwloc' || '' }} - icx: - name: ICX - env: - VCPKG_PATH: "${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows" - strategy: - matrix: - os: ['windows-2019', 'windows-2022'] - build_type: [Debug] - compiler: [{c: icx, cxx: icx}] - shared_library: ['ON', 'OFF'] - include: - - os: windows-2022 - build_type: Release - compiler: {c: icx, cxx: icx} - shared_library: 'ON' + # icx: + # name: ICX + # env: + # VCPKG_PATH: "${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows" + # strategy: + # matrix: + # os: ['windows-2019', 'windows-2022'] + # build_type: [Debug] + # compiler: [{c: icx, cxx: icx}] + # shared_library: ['ON', 'OFF'] + # include: + # - os: windows-2022 + # build_type: Release + # compiler: {c: icx, cxx: icx} + # shared_library: 'ON' - runs-on: ${{matrix.os}} + # runs-on: ${{matrix.os}} - steps: - - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 + # steps: + # - name: Checkout + # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + # with: + # fetch-depth: 0 - - name: Initialize vcpkg - uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5 - with: - vcpkgGitCommitId: ea2a964f9303270322cf3f2d51c265ba146c422d # 1.04.2025 - vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg - vcpkgJsonGlob: '**/vcpkg.json' + # - name: Initialize vcpkg + # uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5 + # with: + # vcpkgGitCommitId: ea2a964f9303270322cf3f2d51c265ba146c422d # 1.04.2025 + # vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg + # vcpkgJsonGlob: '**/vcpkg.json' - - name: Install dependencies - run: vcpkg install --triplet x64-windows + # - name: Install dependencies + # run: vcpkg install --triplet x64-windows - - name: Install Ninja - uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 + # - name: Install Ninja + # uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 - - name: Download icx compiler - env: - # Link source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler-download.html - CMPLR_LINK: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/15a35578-2f9a-4f39-804b-3906e0a5f8fc/w_dpcpp-cpp-compiler_p_2024.2.1.83_offline.exe" - run: | - Invoke-WebRequest -Uri "${{ env.CMPLR_LINK }}" -OutFile compiler_install.exe + # - name: Download icx compiler + # env: + # # Link source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler-download.html + # CMPLR_LINK: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/15a35578-2f9a-4f39-804b-3906e0a5f8fc/w_dpcpp-cpp-compiler_p_2024.2.1.83_offline.exe" + # run: | + # Invoke-WebRequest -Uri "${{ env.CMPLR_LINK }}" -OutFile compiler_install.exe - - name: Install icx compiler - shell: cmd - run: | - start /b /wait .\compiler_install.exe -s -x -f extracted --log extract.log - extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 ^ - -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=. + # - name: Install icx compiler + # shell: cmd + # run: | + # start /b /wait .\compiler_install.exe -s -x -f extracted --log extract.log + # extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 ^ + # -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=. - - name: Configure build - shell: cmd - run: | - call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" - call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" - cmake ^ - -B ${{env.BUILD_DIR}} ^ - -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" ^ - -DCMAKE_C_COMPILER=${{matrix.compiler.c}} ^ - -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} ^ - -G Ninja ^ - -DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}} ^ - -DUMF_FORMAT_CODE_STYLE=OFF ^ - -DUMF_DEVELOPER_MODE=ON ^ - -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON ^ - -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON ^ - -DUMF_BUILD_CUDA_PROVIDER=ON ^ - -DUMF_TESTS_FAIL_ON_SKIP=ON + # - name: Configure build + # shell: cmd + # run: | + # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" + # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" + # cmake ^ + # -B ${{env.BUILD_DIR}} ^ + # -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" ^ + # -DCMAKE_C_COMPILER=${{matrix.compiler.c}} ^ + # -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} ^ + # -G Ninja ^ + # -DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}} ^ + # -DUMF_FORMAT_CODE_STYLE=OFF ^ + # -DUMF_DEVELOPER_MODE=ON ^ + # -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON ^ + # -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON ^ + # -DUMF_BUILD_CUDA_PROVIDER=ON ^ + # -DUMF_TESTS_FAIL_ON_SKIP=ON - - name: Build UMF - shell: cmd - run: | - call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" - call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" - cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% + # - name: Build UMF + # shell: cmd + # run: | + # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" + # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" + # cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% - - name: Run tests - shell: cmd - working-directory: ${{env.BUILD_DIR}} - run: | - call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" - call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" - ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test - - # Scenarios where UMF_LINK_HWLOC_STATICALLY is set to OFF and hwloc is not installed in the system - # The hwloc library is fetched implicitly - hwloc-fallback: - name: "Fallback to static hwloc build" - strategy: - matrix: - include: - - os: 'ubuntu-latest' - build_type: Release - number_of_processors: '$(nproc)' - - os: 'windows-latest' - build_type: Release - number_of_processors: '$Env:NUMBER_OF_PROCESSORS' + # - name: Run tests + # shell: cmd + # working-directory: ${{env.BUILD_DIR}} + # run: | + # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" + # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat" + # ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test + + # # Scenarios where UMF_LINK_HWLOC_STATICALLY is set to OFF and hwloc is not installed in the system + # # The hwloc library is fetched implicitly + # hwloc-fallback: + # name: "Fallback to static hwloc build" + # strategy: + # matrix: + # include: + # - os: 'ubuntu-latest' + # build_type: Release + # number_of_processors: '$(nproc)' + # - os: 'windows-latest' + # build_type: Release + # number_of_processors: '$Env:NUMBER_OF_PROCESSORS' - runs-on: ${{matrix.os}} - - steps: - - name: Install dependencies - if: matrix.os == 'ubuntu-latest' - run: sudo apt-get install -y libnuma-dev - - - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 - - - name: Configure build - run: > - cmake - -B ${{env.BUILD_DIR}} - -DCMAKE_BUILD_TYPE=${{matrix.build_type}} - -DUMF_BUILD_SHARED_LIBRARY=ON - -DUMF_BUILD_EXAMPLES=OFF - -DUMF_DEVELOPER_MODE=ON - -DUMF_LINK_HWLOC_STATICALLY=OFF - -DUMF_TESTS_FAIL_ON_SKIP=ON - - - name: Build UMF - run: > - cmake - --build ${{env.BUILD_DIR}} - --config ${{matrix.build_type}} - -j ${{matrix.number_of_processors}} - - - name: Run tests - working-directory: ${{env.BUILD_DIR}} - run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test - - L0: - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "LEVEL_ZERO" - runner: "L0" - L0-BMG: - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "LEVEL_ZERO" - runner: "L0-BMG" - os: "['Ubuntu']" - CUDA: - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "CUDA" - runner: "CUDA" - - # Full execution of QEMU tests - QEMU: - uses: ./.github/workflows/reusable_qemu.yml - with: - short_run: false - # Beside the 2 LTS Ubuntu, we also test this on the latest Ubuntu - to be updated - # every 6 months, so we verify the latest version of packages (compilers, etc.). - os: "['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']" - - Benchmarks: - uses: ./.github/workflows/reusable_benchmarks.yml - permissions: - contents: write - pull-requests: write - with: - pr_no: '0' - bench_script_params: '--save Baseline_PVC' - - SYCL: - uses: ./.github/workflows/reusable_sycl.yml + # runs-on: ${{matrix.os}} + + # steps: + # - name: Install dependencies + # if: matrix.os == 'ubuntu-latest' + # run: sudo apt-get install -y libnuma-dev + + # - name: Checkout + # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + # with: + # fetch-depth: 0 + + # - name: Configure build + # run: > + # cmake + # -B ${{env.BUILD_DIR}} + # -DCMAKE_BUILD_TYPE=${{matrix.build_type}} + # -DUMF_BUILD_SHARED_LIBRARY=ON + # -DUMF_BUILD_EXAMPLES=OFF + # -DUMF_DEVELOPER_MODE=ON + # -DUMF_LINK_HWLOC_STATICALLY=OFF + # -DUMF_TESTS_FAIL_ON_SKIP=ON + + # - name: Build UMF + # run: > + # cmake + # --build ${{env.BUILD_DIR}} + # --config ${{matrix.build_type}} + # -j ${{matrix.number_of_processors}} + + # - name: Run tests + # working-directory: ${{env.BUILD_DIR}} + # run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test + + # L0: + # uses: ./.github/workflows/reusable_gpu.yml + # with: + # provider: "LEVEL_ZERO" + # runner: "L0" + # L0-BMG: + # uses: ./.github/workflows/reusable_gpu.yml + # with: + # provider: "LEVEL_ZERO" + # runner: "L0-BMG" + # os: "['Ubuntu']" + # CUDA: + # uses: ./.github/workflows/reusable_gpu.yml + # with: + # provider: "CUDA" + # runner: "CUDA" + + # # Full execution of QEMU tests + # QEMU: + # uses: ./.github/workflows/reusable_qemu.yml + # with: + # short_run: false + # # Beside the 2 LTS Ubuntu, we also test this on the latest Ubuntu - to be updated + # # every 6 months, so we verify the latest version of packages (compilers, etc.). + # os: "['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']" + + # Benchmarks: + # uses: ./.github/workflows/reusable_benchmarks.yml + # permissions: + # contents: write + # pull-requests: write + # with: + # pr_no: '0' + # bench_script_params: '--save Baseline_PVC' + + # SYCL: + # uses: ./.github/workflows/reusable_sycl.yml From 78a0fa00c7df36c54f3e8dfc9732f5253c061fa4 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:01:58 +0200 Subject: [PATCH 04/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 198 +++++++++++++++++----------------- 1 file changed, 99 insertions(+), 99 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 5d6155a37..0428c17f4 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -1,103 +1,103 @@ -# Run checks required for a PR to merge and verify if post-merge commit is valid. -# This workflow only call other workflows. -name: PR/push +# # Run checks required for a PR to merge and verify if post-merge commit is valid. +# # This workflow only call other workflows. +# name: PR/push -on: - push: - branches-ignore: - - 'dependabot/**' - pull_request: +# on: +# push: +# branches-ignore: +# - 'dependabot/**' +# pull_request: -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} +# cancel-in-progress: true -permissions: - contents: read +# permissions: +# contents: read -jobs: - CodeChecks: - uses: ./.github/workflows/reusable_checks.yml - FastBuild: - name: Fast builds - needs: [CodeChecks] - uses: ./.github/workflows/reusable_fast.yml - Build: - name: Basic builds - needs: [FastBuild] - uses: ./.github/workflows/reusable_basic.yml - DevDax: - needs: [FastBuild] - uses: ./.github/workflows/reusable_dax.yml - MultiNuma: - needs: [FastBuild] - uses: ./.github/workflows/reusable_multi_numa.yml - L0: - needs: [Build] - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "LEVEL_ZERO" - runner: "L0" - shared_lib: "['ON']" - L0-BMG: - needs: [Build] - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "LEVEL_ZERO" - runner: "L0-BMG" - shared_lib: "['ON']" - os: "['Ubuntu']" - CUDA: - needs: [Build] - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "CUDA" - runner: "CUDA" - shared_lib: "['ON']" - Sanitizers: - needs: [FastBuild] - uses: ./.github/workflows/reusable_sanitizers.yml - QEMU: - needs: [FastBuild] - uses: ./.github/workflows/reusable_qemu.yml - with: - short_run: true - ProxyLib: - needs: [Build] - uses: ./.github/workflows/reusable_proxy_lib.yml - Valgrind: - needs: [Build] - uses: ./.github/workflows/reusable_valgrind.yml - Coverage: - # total coverage (on upstream only) - if: github.repository == 'oneapi-src/unified-memory-framework' - needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] - uses: ./.github/workflows/reusable_coverage.yml - secrets: inherit - with: - trigger: "${{github.event_name}}" - Coverage_partial: - # partial coverage (on forks) - if: github.repository != 'oneapi-src/unified-memory-framework' - needs: [Build, QEMU, ProxyLib] - uses: ./.github/workflows/reusable_coverage.yml - CodeQL: - needs: [Build] - permissions: - contents: read - security-events: write - uses: ./.github/workflows/reusable_codeql.yml - Trivy: - needs: [Build] - permissions: - contents: read - security-events: write - uses: ./.github/workflows/reusable_trivy.yml - Compatibility: - needs: [Build] - uses: ./.github/workflows/reusable_compatibility.yml - strategy: - matrix: - tag: ["v0.11.0-rc1"] - with: - tag: ${{matrix.tag}} +# jobs: +# CodeChecks: +# uses: ./.github/workflows/reusable_checks.yml +# FastBuild: +# name: Fast builds +# needs: [CodeChecks] +# uses: ./.github/workflows/reusable_fast.yml +# Build: +# name: Basic builds +# needs: [FastBuild] +# uses: ./.github/workflows/reusable_basic.yml +# DevDax: +# needs: [FastBuild] +# uses: ./.github/workflows/reusable_dax.yml +# MultiNuma: +# needs: [FastBuild] +# uses: ./.github/workflows/reusable_multi_numa.yml +# L0: +# needs: [Build] +# uses: ./.github/workflows/reusable_gpu.yml +# with: +# provider: "LEVEL_ZERO" +# runner: "L0" +# shared_lib: "['ON']" +# L0-BMG: +# needs: [Build] +# uses: ./.github/workflows/reusable_gpu.yml +# with: +# provider: "LEVEL_ZERO" +# runner: "L0-BMG" +# shared_lib: "['ON']" +# os: "['Ubuntu']" +# CUDA: +# needs: [Build] +# uses: ./.github/workflows/reusable_gpu.yml +# with: +# provider: "CUDA" +# runner: "CUDA" +# shared_lib: "['ON']" +# Sanitizers: +# needs: [FastBuild] +# uses: ./.github/workflows/reusable_sanitizers.yml +# QEMU: +# needs: [FastBuild] +# uses: ./.github/workflows/reusable_qemu.yml +# with: +# short_run: true +# ProxyLib: +# needs: [Build] +# uses: ./.github/workflows/reusable_proxy_lib.yml +# Valgrind: +# needs: [Build] +# uses: ./.github/workflows/reusable_valgrind.yml +# Coverage: +# # total coverage (on upstream only) +# if: github.repository == 'oneapi-src/unified-memory-framework' +# needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] +# uses: ./.github/workflows/reusable_coverage.yml +# secrets: inherit +# with: +# trigger: "${{github.event_name}}" +# Coverage_partial: +# # partial coverage (on forks) +# if: github.repository != 'oneapi-src/unified-memory-framework' +# needs: [Build, QEMU, ProxyLib] +# uses: ./.github/workflows/reusable_coverage.yml +# CodeQL: +# needs: [Build] +# permissions: +# contents: read +# security-events: write +# uses: ./.github/workflows/reusable_codeql.yml +# Trivy: +# needs: [Build] +# permissions: +# contents: read +# security-events: write +# uses: ./.github/workflows/reusable_trivy.yml +# Compatibility: +# needs: [Build] +# uses: ./.github/workflows/reusable_compatibility.yml +# strategy: +# matrix: +# tag: ["v0.11.0-rc1"] +# with: +# tag: ${{matrix.tag}} From 575969d9b5772574d0f31d322db723da7eccfadc Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:02:15 +0200 Subject: [PATCH 05/34] Update docs_pr_push.yml --- .github/workflows/docs_pr_push.yml | 60 +++++++++++++++--------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/docs_pr_push.yml b/.github/workflows/docs_pr_push.yml index 58280e53e..6908f23e5 100644 --- a/.github/workflows/docs_pr_push.yml +++ b/.github/workflows/docs_pr_push.yml @@ -1,36 +1,36 @@ -# This workflow is strictly for documentation updates. It triggers only when files related -# to documentation or specific workflows are edited, ensuring that the job runs only for -# relevant changes. +# # This workflow is strictly for documentation updates. It triggers only when files related +# # to documentation or specific workflows are edited, ensuring that the job runs only for +# # relevant changes. -name: Documentation PR/push +# name: Documentation PR/push -on: - push: - branches-ignore: - - 'dependabot/**' - - 'main' # Ignore main branch as it's handled by docs.yml - paths: - - 'docs/**' - - 'include/**' - - .github/workflows/reusable_docs_build.yml - - .github/workflows/docs_pr_push.yml - - 'third_party/requirements.txt' +# on: +# push: +# branches-ignore: +# - 'dependabot/**' +# - 'main' # Ignore main branch as it's handled by docs.yml +# paths: +# - 'docs/**' +# - 'include/**' +# - .github/workflows/reusable_docs_build.yml +# - .github/workflows/docs_pr_push.yml +# - 'third_party/requirements.txt' - pull_request: - paths: - - 'docs/**' - - 'include/**' - - .github/workflows/reusable_docs_build.yml - - .github/workflows/docs_pr_push.yml - - 'third_party/requirements.txt' +# pull_request: +# paths: +# - 'docs/**' +# - 'include/**' +# - .github/workflows/reusable_docs_build.yml +# - .github/workflows/docs_pr_push.yml +# - 'third_party/requirements.txt' -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} +# cancel-in-progress: true -permissions: - contents: read +# permissions: +# contents: read -jobs: - DocsBuild: - uses: ./.github/workflows/reusable_docs_build.yml +# jobs: +# DocsBuild: +# uses: ./.github/workflows/reusable_docs_build.yml From 7e913f2e8fd79611403a42bd9101e886318c5573 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:03:42 +0200 Subject: [PATCH 06/34] Update nightly.yml --- .github/workflows/nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 418c3c74c..40bf04323 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -3,9 +3,9 @@ name: Nightly # This job is run at 04:00 UTC every day or on demand. on: - workflow_dispatch: - # schedule: - # - cron: '0 4 * * *' + workflow_call: + paths: + - '.github/**' permissions: contents: read From d6922b8b7f616c14a33a1ff1e4b98f4d15377a0c Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 12:09:07 +0200 Subject: [PATCH 07/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 0428c17f4..1bdf41ea2 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -2,11 +2,11 @@ # # This workflow only call other workflows. # name: PR/push -# on: -# push: -# branches-ignore: -# - 'dependabot/**' -# pull_request: +on: + push: + branches-ignore: + - 'dependabot/**' + pull_request: # concurrency: # group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} From b3e3a7eb46049d36132060438c4c59de6d764d0c Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 14:39:18 +0200 Subject: [PATCH 08/34] Update docs_pr_push.yml --- .github/workflows/docs_pr_push.yml | 61 +++++++++++++++--------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/.github/workflows/docs_pr_push.yml b/.github/workflows/docs_pr_push.yml index 6908f23e5..364198352 100644 --- a/.github/workflows/docs_pr_push.yml +++ b/.github/workflows/docs_pr_push.yml @@ -1,36 +1,37 @@ -# # This workflow is strictly for documentation updates. It triggers only when files related -# # to documentation or specific workflows are edited, ensuring that the job runs only for -# # relevant changes. +# This workflow is strictly for documentation updates. It triggers only when files related +# to documentation or specific workflows are edited, ensuring that the job runs only for +# relevant changes. -# name: Documentation PR/push +name: Documentation PR/push -# on: -# push: -# branches-ignore: -# - 'dependabot/**' -# - 'main' # Ignore main branch as it's handled by docs.yml -# paths: -# - 'docs/**' -# - 'include/**' -# - .github/workflows/reusable_docs_build.yml -# - .github/workflows/docs_pr_push.yml -# - 'third_party/requirements.txt' +on: + push: + branches-ignore: + - 'dependabot/**' + - 'main' # Ignore main branch as it's handled by docs.yml + paths: + - 'docs/**' + - 'include/**' + - .github/workflows/reusable_docs_build.yml + - .github/workflows/docs_pr_push.yml + - 'third_party/requirements.txt' -# pull_request: -# paths: -# - 'docs/**' -# - 'include/**' -# - .github/workflows/reusable_docs_build.yml -# - .github/workflows/docs_pr_push.yml -# - 'third_party/requirements.txt' + pull_request: + paths: + - 'docs/**' + - 'include/**' + - .github/workflows/reusable_docs_build.yml + - .github/workflows/docs_pr_push.yml + - 'third_party/requirements.txt' -# concurrency: -# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} -# cancel-in-progress: true +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true -# permissions: -# contents: read +permissions: + contents: read -# jobs: -# DocsBuild: -# uses: ./.github/workflows/reusable_docs_build.yml +jobs: + DocsBuild: + if: false + uses: ./.github/workflows/reusable_docs_build.yml From 9d9c1e732681c4ec01efde67b42b4fff89130568 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 14:43:19 +0200 Subject: [PATCH 09/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 183 +++++++++++++++++----------------- 1 file changed, 92 insertions(+), 91 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 1bdf41ea2..f1f110a20 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -8,96 +8,97 @@ on: - 'dependabot/**' pull_request: -# concurrency: -# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} -# cancel-in-progress: true + concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true -# permissions: -# contents: read + permissions: + contents: read -# jobs: -# CodeChecks: -# uses: ./.github/workflows/reusable_checks.yml -# FastBuild: -# name: Fast builds -# needs: [CodeChecks] -# uses: ./.github/workflows/reusable_fast.yml -# Build: -# name: Basic builds -# needs: [FastBuild] -# uses: ./.github/workflows/reusable_basic.yml -# DevDax: -# needs: [FastBuild] -# uses: ./.github/workflows/reusable_dax.yml -# MultiNuma: -# needs: [FastBuild] -# uses: ./.github/workflows/reusable_multi_numa.yml -# L0: -# needs: [Build] -# uses: ./.github/workflows/reusable_gpu.yml -# with: -# provider: "LEVEL_ZERO" -# runner: "L0" -# shared_lib: "['ON']" -# L0-BMG: -# needs: [Build] -# uses: ./.github/workflows/reusable_gpu.yml -# with: -# provider: "LEVEL_ZERO" -# runner: "L0-BMG" -# shared_lib: "['ON']" -# os: "['Ubuntu']" -# CUDA: -# needs: [Build] -# uses: ./.github/workflows/reusable_gpu.yml -# with: -# provider: "CUDA" -# runner: "CUDA" -# shared_lib: "['ON']" -# Sanitizers: -# needs: [FastBuild] -# uses: ./.github/workflows/reusable_sanitizers.yml -# QEMU: -# needs: [FastBuild] -# uses: ./.github/workflows/reusable_qemu.yml -# with: -# short_run: true -# ProxyLib: -# needs: [Build] -# uses: ./.github/workflows/reusable_proxy_lib.yml -# Valgrind: -# needs: [Build] -# uses: ./.github/workflows/reusable_valgrind.yml -# Coverage: -# # total coverage (on upstream only) -# if: github.repository == 'oneapi-src/unified-memory-framework' -# needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] -# uses: ./.github/workflows/reusable_coverage.yml -# secrets: inherit -# with: -# trigger: "${{github.event_name}}" -# Coverage_partial: -# # partial coverage (on forks) -# if: github.repository != 'oneapi-src/unified-memory-framework' -# needs: [Build, QEMU, ProxyLib] -# uses: ./.github/workflows/reusable_coverage.yml -# CodeQL: -# needs: [Build] -# permissions: -# contents: read -# security-events: write -# uses: ./.github/workflows/reusable_codeql.yml -# Trivy: -# needs: [Build] -# permissions: -# contents: read -# security-events: write -# uses: ./.github/workflows/reusable_trivy.yml -# Compatibility: -# needs: [Build] -# uses: ./.github/workflows/reusable_compatibility.yml -# strategy: -# matrix: -# tag: ["v0.11.0-rc1"] -# with: -# tag: ${{matrix.tag}} + jobs: + if: false + CodeChecks: + uses: ./.github/workflows/reusable_checks.yml + FastBuild: + name: Fast builds + needs: [CodeChecks] + uses: ./.github/workflows/reusable_fast.yml + Build: + name: Basic builds + needs: [FastBuild] + uses: ./.github/workflows/reusable_basic.yml + DevDax: + needs: [FastBuild] + uses: ./.github/workflows/reusable_dax.yml + MultiNuma: + needs: [FastBuild] + uses: ./.github/workflows/reusable_multi_numa.yml + L0: + needs: [Build] + uses: ./.github/workflows/reusable_gpu.yml + with: + provider: "LEVEL_ZERO" + runner: "L0" + shared_lib: "['ON']" + L0-BMG: + needs: [Build] + uses: ./.github/workflows/reusable_gpu.yml + with: + provider: "LEVEL_ZERO" + runner: "L0-BMG" + shared_lib: "['ON']" + os: "['Ubuntu']" + CUDA: + needs: [Build] + uses: ./.github/workflows/reusable_gpu.yml + with: + provider: "CUDA" + runner: "CUDA" + shared_lib: "['ON']" + Sanitizers: + needs: [FastBuild] + uses: ./.github/workflows/reusable_sanitizers.yml + QEMU: + needs: [FastBuild] + uses: ./.github/workflows/reusable_qemu.yml + with: + short_run: true + ProxyLib: + needs: [Build] + uses: ./.github/workflows/reusable_proxy_lib.yml + Valgrind: + needs: [Build] + uses: ./.github/workflows/reusable_valgrind.yml + Coverage: + # total coverage (on upstream only) + if: github.repository == 'oneapi-src/unified-memory-framework' + needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] + uses: ./.github/workflows/reusable_coverage.yml + secrets: inherit + with: + trigger: "${{github.event_name}}" + Coverage_partial: + # partial coverage (on forks) + if: github.repository != 'oneapi-src/unified-memory-framework' + needs: [Build, QEMU, ProxyLib] + uses: ./.github/workflows/reusable_coverage.yml + CodeQL: + needs: [Build] + permissions: + contents: read + security-events: write + uses: ./.github/workflows/reusable_codeql.yml + Trivy: + needs: [Build] + permissions: + contents: read + security-events: write + uses: ./.github/workflows/reusable_trivy.yml + Compatibility: + needs: [Build] + uses: ./.github/workflows/reusable_compatibility.yml + strategy: + matrix: + tag: ["v0.11.0-rc1"] + with: + tag: ${{matrix.tag}} From f9dadad4f501059c99b8d226160afc7c82259926 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 14:44:06 +0200 Subject: [PATCH 10/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index f1f110a20..f4be86249 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -1,6 +1,6 @@ # # Run checks required for a PR to merge and verify if post-merge commit is valid. # # This workflow only call other workflows. -# name: PR/push +name: PR/push on: push: From df0629f15de4860b817dd8992e50c12062e54cb1 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 18 Apr 2025 14:46:03 +0200 Subject: [PATCH 11/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 187 +++++++++++++++++----------------- 1 file changed, 93 insertions(+), 94 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index f4be86249..5d6155a37 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -1,5 +1,5 @@ -# # Run checks required for a PR to merge and verify if post-merge commit is valid. -# # This workflow only call other workflows. +# Run checks required for a PR to merge and verify if post-merge commit is valid. +# This workflow only call other workflows. name: PR/push on: @@ -8,97 +8,96 @@ on: - 'dependabot/**' pull_request: - concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true - permissions: - contents: read +permissions: + contents: read - jobs: - if: false - CodeChecks: - uses: ./.github/workflows/reusable_checks.yml - FastBuild: - name: Fast builds - needs: [CodeChecks] - uses: ./.github/workflows/reusable_fast.yml - Build: - name: Basic builds - needs: [FastBuild] - uses: ./.github/workflows/reusable_basic.yml - DevDax: - needs: [FastBuild] - uses: ./.github/workflows/reusable_dax.yml - MultiNuma: - needs: [FastBuild] - uses: ./.github/workflows/reusable_multi_numa.yml - L0: - needs: [Build] - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "LEVEL_ZERO" - runner: "L0" - shared_lib: "['ON']" - L0-BMG: - needs: [Build] - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "LEVEL_ZERO" - runner: "L0-BMG" - shared_lib: "['ON']" - os: "['Ubuntu']" - CUDA: - needs: [Build] - uses: ./.github/workflows/reusable_gpu.yml - with: - provider: "CUDA" - runner: "CUDA" - shared_lib: "['ON']" - Sanitizers: - needs: [FastBuild] - uses: ./.github/workflows/reusable_sanitizers.yml - QEMU: - needs: [FastBuild] - uses: ./.github/workflows/reusable_qemu.yml - with: - short_run: true - ProxyLib: - needs: [Build] - uses: ./.github/workflows/reusable_proxy_lib.yml - Valgrind: - needs: [Build] - uses: ./.github/workflows/reusable_valgrind.yml - Coverage: - # total coverage (on upstream only) - if: github.repository == 'oneapi-src/unified-memory-framework' - needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] - uses: ./.github/workflows/reusable_coverage.yml - secrets: inherit - with: - trigger: "${{github.event_name}}" - Coverage_partial: - # partial coverage (on forks) - if: github.repository != 'oneapi-src/unified-memory-framework' - needs: [Build, QEMU, ProxyLib] - uses: ./.github/workflows/reusable_coverage.yml - CodeQL: - needs: [Build] - permissions: - contents: read - security-events: write - uses: ./.github/workflows/reusable_codeql.yml - Trivy: - needs: [Build] - permissions: - contents: read - security-events: write - uses: ./.github/workflows/reusable_trivy.yml - Compatibility: - needs: [Build] - uses: ./.github/workflows/reusable_compatibility.yml - strategy: - matrix: - tag: ["v0.11.0-rc1"] - with: - tag: ${{matrix.tag}} +jobs: + CodeChecks: + uses: ./.github/workflows/reusable_checks.yml + FastBuild: + name: Fast builds + needs: [CodeChecks] + uses: ./.github/workflows/reusable_fast.yml + Build: + name: Basic builds + needs: [FastBuild] + uses: ./.github/workflows/reusable_basic.yml + DevDax: + needs: [FastBuild] + uses: ./.github/workflows/reusable_dax.yml + MultiNuma: + needs: [FastBuild] + uses: ./.github/workflows/reusable_multi_numa.yml + L0: + needs: [Build] + uses: ./.github/workflows/reusable_gpu.yml + with: + provider: "LEVEL_ZERO" + runner: "L0" + shared_lib: "['ON']" + L0-BMG: + needs: [Build] + uses: ./.github/workflows/reusable_gpu.yml + with: + provider: "LEVEL_ZERO" + runner: "L0-BMG" + shared_lib: "['ON']" + os: "['Ubuntu']" + CUDA: + needs: [Build] + uses: ./.github/workflows/reusable_gpu.yml + with: + provider: "CUDA" + runner: "CUDA" + shared_lib: "['ON']" + Sanitizers: + needs: [FastBuild] + uses: ./.github/workflows/reusable_sanitizers.yml + QEMU: + needs: [FastBuild] + uses: ./.github/workflows/reusable_qemu.yml + with: + short_run: true + ProxyLib: + needs: [Build] + uses: ./.github/workflows/reusable_proxy_lib.yml + Valgrind: + needs: [Build] + uses: ./.github/workflows/reusable_valgrind.yml + Coverage: + # total coverage (on upstream only) + if: github.repository == 'oneapi-src/unified-memory-framework' + needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] + uses: ./.github/workflows/reusable_coverage.yml + secrets: inherit + with: + trigger: "${{github.event_name}}" + Coverage_partial: + # partial coverage (on forks) + if: github.repository != 'oneapi-src/unified-memory-framework' + needs: [Build, QEMU, ProxyLib] + uses: ./.github/workflows/reusable_coverage.yml + CodeQL: + needs: [Build] + permissions: + contents: read + security-events: write + uses: ./.github/workflows/reusable_codeql.yml + Trivy: + needs: [Build] + permissions: + contents: read + security-events: write + uses: ./.github/workflows/reusable_trivy.yml + Compatibility: + needs: [Build] + uses: ./.github/workflows/reusable_compatibility.yml + strategy: + matrix: + tag: ["v0.11.0-rc1"] + with: + tag: ${{matrix.tag}} From b9905296a18a077c10314487257aa5d675947982 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Tue, 22 Apr 2025 10:34:14 +0200 Subject: [PATCH 12/34] Update docs_pr_push.yml --- .github/workflows/docs_pr_push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs_pr_push.yml b/.github/workflows/docs_pr_push.yml index 364198352..8907c3ea7 100644 --- a/.github/workflows/docs_pr_push.yml +++ b/.github/workflows/docs_pr_push.yml @@ -2,7 +2,7 @@ # to documentation or specific workflows are edited, ensuring that the job runs only for # relevant changes. -name: Documentation PR/push +name: Documentation PR/push(testing) on: push: @@ -33,5 +33,5 @@ permissions: jobs: DocsBuild: - if: false + if: false uses: ./.github/workflows/reusable_docs_build.yml From c28fda96e99be78438d49c0896b5e60710c3f18c Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Tue, 22 Apr 2025 11:01:49 +0200 Subject: [PATCH 13/34] Update nightly.yml --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 40bf04323..02d0e2d30 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,5 +1,5 @@ # Various non-standard tests, requiring e.g. longer run -name: Nightly +name: Nightly. # This job is run at 04:00 UTC every day or on demand. on: From 4316fad8fbf97c345630aaec9367c19903aac007 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Tue, 22 Apr 2025 13:46:54 +0200 Subject: [PATCH 14/34] Update nightly.yml --- .github/workflows/nightly.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 02d0e2d30..3a1d61e06 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -2,10 +2,7 @@ name: Nightly. # This job is run at 04:00 UTC every day or on demand. -on: - workflow_call: - paths: - - '.github/**' +on: workflow_dispatch permissions: contents: read From 87ba26e7a99dd6896d6a196c27e622c7ac934c76 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 09:51:47 +0200 Subject: [PATCH 15/34] Update nightly.yml --- .github/workflows/nightly.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3a1d61e06..cc258a919 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -2,10 +2,11 @@ name: Nightly. # This job is run at 04:00 UTC every day or on demand. -on: workflow_dispatch - -permissions: - contents: read +on: + push: + branches-ignore: + - 'dependabot/**' + pull_request: env: BUILD_DIR : "${{github.workspace}}/build" From 9bb64a082dc260b3702dd69f9db95ae540a31234 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 12:29:27 +0200 Subject: [PATCH 16/34] Update nightly.yml --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index cc258a919..0dbe471a3 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,5 +1,5 @@ # Various non-standard tests, requiring e.g. longer run -name: Nightly. +name: Nightly # This job is run at 04:00 UTC every day or on demand. on: From 90ff5a9b3a37bfbc9ef5b22389fd6a8615a12cd2 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 14:04:04 +0200 Subject: [PATCH 17/34] Update nightly.yml --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0dbe471a3..712040b8c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -98,7 +98,7 @@ jobs: compiler: [{c: cl, cxx: cl}] shared_library: ['ON', 'OFF'] static_hwloc: ['ON', 'OFF'] - generator: ['Ninja', 'NMake Makefiles', 'Unix Makefiles'] + generator: ['Unix Makefiles'] umfd_lib: ['ON', 'OFF'] runs-on: windows-latest From 6d8e12a12151783455afd0fcf884e82417f9b481 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 14:31:44 +0200 Subject: [PATCH 18/34] Update nightly.yml --- .github/workflows/nightly.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 712040b8c..0a5613fc4 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -136,6 +136,9 @@ jobs: - name: NMake Makefiles if: matrix.generator == 'Unix Makefiles' run: cmake -G "Unix Makefiles" + env: + UMF_TESTS_FAIL_ON_SKIP: ON + - name: Configure MSVC environment From 4ad3ceb325eaa938a4998b8ca4a54c051ba08f73 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 14:55:46 +0200 Subject: [PATCH 19/34] Update nightly.yml --- .github/workflows/nightly.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0a5613fc4..b926d1d0c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -135,9 +135,10 @@ jobs: - name: NMake Makefiles if: matrix.generator == 'Unix Makefiles' - run: cmake -G "Unix Makefiles" env: UMF_TESTS_FAIL_ON_SKIP: ON + run: cmake -G "Unix Makefiles" + From 855ce78492b2265dbacf21795e0ad5b8886ec1cf Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 14:57:07 +0200 Subject: [PATCH 20/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 5d6155a37..6f2cf15de 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -16,6 +16,7 @@ permissions: contents: read jobs: +if: false CodeChecks: uses: ./.github/workflows/reusable_checks.yml FastBuild: From dd0230dcfa9247820cbd1213beb9f68e1eeff369 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:09:25 +0200 Subject: [PATCH 21/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 6f2cf15de..bfeea0811 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -2,6 +2,9 @@ # This workflow only call other workflows. name: PR/push +env: + ENABLE_TESTING_JOBS: false + on: push: branches-ignore: @@ -16,24 +19,29 @@ permissions: contents: read jobs: -if: false CodeChecks: + if: $ENABLE_TESTING_JOBS uses: ./.github/workflows/reusable_checks.yml FastBuild: + if: $ENABLE_TESTING_JOBS name: Fast builds needs: [CodeChecks] uses: ./.github/workflows/reusable_fast.yml Build: + if: $ENABLE_TESTING_JOBS name: Basic builds needs: [FastBuild] uses: ./.github/workflows/reusable_basic.yml DevDax: + if: $ENABLE_TESTING_JOBS needs: [FastBuild] uses: ./.github/workflows/reusable_dax.yml MultiNuma: + if: $ENABLE_TESTING_JOBS needs: [FastBuild] uses: ./.github/workflows/reusable_multi_numa.yml L0: + if: $ENABLE_TESTING_JOBS needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -41,6 +49,7 @@ if: false runner: "L0" shared_lib: "['ON']" L0-BMG: + if: $ENABLE_TESTING_JOBS needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -49,6 +58,7 @@ if: false shared_lib: "['ON']" os: "['Ubuntu']" CUDA: + if: $ENABLE_TESTING_JOBS needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -56,20 +66,25 @@ if: false runner: "CUDA" shared_lib: "['ON']" Sanitizers: + if: $ENABLE_TESTING_JOBS needs: [FastBuild] uses: ./.github/workflows/reusable_sanitizers.yml QEMU: + if: $ENABLE_TESTING_JOBS needs: [FastBuild] uses: ./.github/workflows/reusable_qemu.yml with: short_run: true ProxyLib: + if: $ENABLE_TESTING_JOBS needs: [Build] uses: ./.github/workflows/reusable_proxy_lib.yml Valgrind: + if: $ENABLE_TESTING_JOBS needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: + if: $ENABLE_TESTING_JOBS # total coverage (on upstream only) if: github.repository == 'oneapi-src/unified-memory-framework' needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] @@ -78,11 +93,13 @@ if: false with: trigger: "${{github.event_name}}" Coverage_partial: + if: $ENABLE_TESTING_JOBS # partial coverage (on forks) if: github.repository != 'oneapi-src/unified-memory-framework' needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: + if: $ENABLE_TESTING_JOBS needs: [Build] permissions: contents: read From 08492c3184033ec91285200af93ffba87ccb6a03 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:10:57 +0200 Subject: [PATCH 22/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index bfeea0811..ff18d39bf 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -84,9 +84,9 @@ jobs: needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: - if: $ENABLE_TESTING_JOBS + # total coverage (on upstream only) - if: github.repository == 'oneapi-src/unified-memory-framework' + if: $ENABLE_TESTING_JOBS needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml secrets: inherit @@ -94,8 +94,6 @@ jobs: trigger: "${{github.event_name}}" Coverage_partial: if: $ENABLE_TESTING_JOBS - # partial coverage (on forks) - if: github.repository != 'oneapi-src/unified-memory-framework' needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: From eb06e3b58f759e633fc047ae1dd7e4ab74a38960 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:13:55 +0200 Subject: [PATCH 23/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index ff18d39bf..cb1bc59e1 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -20,28 +20,28 @@ permissions: jobs: CodeChecks: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} uses: ./.github/workflows/reusable_checks.yml FastBuild: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} name: Fast builds needs: [CodeChecks] uses: ./.github/workflows/reusable_fast.yml Build: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} name: Basic builds needs: [FastBuild] uses: ./.github/workflows/reusable_basic.yml DevDax: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_dax.yml MultiNuma: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_multi_numa.yml L0: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -49,7 +49,7 @@ jobs: runner: "L0" shared_lib: "['ON']" L0-BMG: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -58,7 +58,7 @@ jobs: shared_lib: "['ON']" os: "['Ubuntu']" CUDA: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -66,38 +66,38 @@ jobs: runner: "CUDA" shared_lib: "['ON']" Sanitizers: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_sanitizers.yml QEMU: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_qemu.yml with: short_run: true ProxyLib: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_proxy_lib.yml Valgrind: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: # total coverage (on upstream only) - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml secrets: inherit with: trigger: "${{github.event_name}}" Coverage_partial: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: - if: $ENABLE_TESTING_JOBS + if: ${{ ENABLE_TESTING_JOBS }} needs: [Build] permissions: contents: read From b801b567c18e0f7d11ef9326f20f89ec2ae94add Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:15:15 +0200 Subject: [PATCH 24/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index cb1bc59e1..a2f9aaa1f 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -20,28 +20,28 @@ permissions: jobs: CodeChecks: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} uses: ./.github/workflows/reusable_checks.yml FastBuild: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} name: Fast builds needs: [CodeChecks] uses: ./.github/workflows/reusable_fast.yml Build: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} name: Basic builds needs: [FastBuild] uses: ./.github/workflows/reusable_basic.yml DevDax: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_dax.yml MultiNuma: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_multi_numa.yml L0: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -49,7 +49,7 @@ jobs: runner: "L0" shared_lib: "['ON']" L0-BMG: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -58,7 +58,7 @@ jobs: shared_lib: "['ON']" os: "['Ubuntu']" CUDA: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -66,38 +66,38 @@ jobs: runner: "CUDA" shared_lib: "['ON']" Sanitizers: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_sanitizers.yml QEMU: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [FastBuild] uses: ./.github/workflows/reusable_qemu.yml with: short_run: true ProxyLib: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_proxy_lib.yml Valgrind: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: # total coverage (on upstream only) - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml secrets: inherit with: trigger: "${{github.event_name}}" Coverage_partial: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: - if: ${{ ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS }} needs: [Build] permissions: contents: read From fd7e80f712ea9fdfe8bfb6ce7e311ab686e38633 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:16:47 +0200 Subject: [PATCH 25/34] Update pr_push.yml From 31dea5c6af05b468370e2044dc03054f0e4bec2d Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:18:58 +0200 Subject: [PATCH 26/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index a2f9aaa1f..1163fc73f 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -20,28 +20,28 @@ permissions: jobs: CodeChecks: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} uses: ./.github/workflows/reusable_checks.yml FastBuild: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} name: Fast builds needs: [CodeChecks] uses: ./.github/workflows/reusable_fast.yml Build: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} name: Basic builds needs: [FastBuild] uses: ./.github/workflows/reusable_basic.yml DevDax: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [FastBuild] uses: ./.github/workflows/reusable_dax.yml MultiNuma: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [FastBuild] uses: ./.github/workflows/reusable_multi_numa.yml L0: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -49,7 +49,7 @@ jobs: runner: "L0" shared_lib: "['ON']" L0-BMG: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -58,7 +58,7 @@ jobs: shared_lib: "['ON']" os: "['Ubuntu']" CUDA: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -66,38 +66,38 @@ jobs: runner: "CUDA" shared_lib: "['ON']" Sanitizers: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [FastBuild] uses: ./.github/workflows/reusable_sanitizers.yml QEMU: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [FastBuild] uses: ./.github/workflows/reusable_qemu.yml with: short_run: true ProxyLib: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build] uses: ./.github/workflows/reusable_proxy_lib.yml Valgrind: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: # total coverage (on upstream only) - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml secrets: inherit with: trigger: "${{github.event_name}}" Coverage_partial: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: - if: ${{ env.ENABLE_TESTING_JOBS }} + if: ${{ env.ENABLE_TESTING_JOBS == false }} needs: [Build] permissions: contents: read From bc75e52a5f80caae07cef9ba44430b2d73273eb8 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:25:37 +0200 Subject: [PATCH 27/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 1163fc73f..08e1aacfb 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -19,29 +19,31 @@ permissions: contents: read jobs: + env: + ENABLE_TESTING_JOBS: false CodeChecks: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) uses: ./.github/workflows/reusable_checks.yml FastBuild: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) name: Fast builds needs: [CodeChecks] uses: ./.github/workflows/reusable_fast.yml Build: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) name: Basic builds needs: [FastBuild] uses: ./.github/workflows/reusable_basic.yml DevDax: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [FastBuild] uses: ./.github/workflows/reusable_dax.yml MultiNuma: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [FastBuild] uses: ./.github/workflows/reusable_multi_numa.yml L0: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -49,7 +51,7 @@ jobs: runner: "L0" shared_lib: "['ON']" L0-BMG: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -58,7 +60,7 @@ jobs: shared_lib: "['ON']" os: "['Ubuntu']" CUDA: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -66,38 +68,38 @@ jobs: runner: "CUDA" shared_lib: "['ON']" Sanitizers: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [FastBuild] uses: ./.github/workflows/reusable_sanitizers.yml QEMU: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [FastBuild] uses: ./.github/workflows/reusable_qemu.yml with: short_run: true ProxyLib: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build] uses: ./.github/workflows/reusable_proxy_lib.yml Valgrind: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: # total coverage (on upstream only) - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml secrets: inherit with: trigger: "${{github.event_name}}" Coverage_partial: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: - if: ${{ env.ENABLE_TESTING_JOBS == false }} + if: ($ENABLE_TESTING_JOBS == false) needs: [Build] permissions: contents: read From b15d92888e3367614ae834647e79167579ed12f7 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:28:08 +0200 Subject: [PATCH 28/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 08e1aacfb..d5ff7e62e 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -19,8 +19,6 @@ permissions: contents: read jobs: - env: - ENABLE_TESTING_JOBS: false CodeChecks: if: ($ENABLE_TESTING_JOBS == false) uses: ./.github/workflows/reusable_checks.yml From f4fc264731f3fcc81ab710d7c23446d09ea82ccc Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:30:18 +0200 Subject: [PATCH 29/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index d5ff7e62e..827a58329 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -20,28 +20,28 @@ permissions: jobs: CodeChecks: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' uses: ./.github/workflows/reusable_checks.yml FastBuild: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' name: Fast builds needs: [CodeChecks] uses: ./.github/workflows/reusable_fast.yml Build: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' name: Basic builds needs: [FastBuild] uses: ./.github/workflows/reusable_basic.yml DevDax: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_dax.yml MultiNuma: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_multi_numa.yml L0: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -49,7 +49,7 @@ jobs: runner: "L0" shared_lib: "['ON']" L0-BMG: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -58,7 +58,7 @@ jobs: shared_lib: "['ON']" os: "['Ubuntu']" CUDA: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -66,38 +66,38 @@ jobs: runner: "CUDA" shared_lib: "['ON']" Sanitizers: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_sanitizers.yml QEMU: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_qemu.yml with: short_run: true ProxyLib: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_proxy_lib.yml Valgrind: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: # total coverage (on upstream only) - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml secrets: inherit with: trigger: "${{github.event_name}}" Coverage_partial: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: - if: ($ENABLE_TESTING_JOBS == false) + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] permissions: contents: read From 6357038683c445b904d5508bab1e6a4275a2bbaf Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Wed, 23 Apr 2025 15:31:36 +0200 Subject: [PATCH 30/34] Update pr_push.yml --- .github/workflows/pr_push.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml index 827a58329..b53fa7278 100644 --- a/.github/workflows/pr_push.yml +++ b/.github/workflows/pr_push.yml @@ -23,25 +23,25 @@ jobs: if: github.repository == 'octo-org/octo-repo-prod' uses: ./.github/workflows/reusable_checks.yml FastBuild: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' name: Fast builds needs: [CodeChecks] uses: ./.github/workflows/reusable_fast.yml Build: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' name: Basic builds needs: [FastBuild] uses: ./.github/workflows/reusable_basic.yml DevDax: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_dax.yml MultiNuma: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_multi_numa.yml L0: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -49,7 +49,7 @@ jobs: runner: "L0" shared_lib: "['ON']" L0-BMG: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -58,7 +58,7 @@ jobs: shared_lib: "['ON']" os: "['Ubuntu']" CUDA: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_gpu.yml with: @@ -66,38 +66,38 @@ jobs: runner: "CUDA" shared_lib: "['ON']" Sanitizers: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_sanitizers.yml QEMU: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [FastBuild] uses: ./.github/workflows/reusable_qemu.yml with: short_run: true ProxyLib: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_proxy_lib.yml Valgrind: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] uses: ./.github/workflows/reusable_valgrind.yml Coverage: # total coverage (on upstream only) - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml secrets: inherit with: trigger: "${{github.event_name}}" Coverage_partial: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build, QEMU, ProxyLib] uses: ./.github/workflows/reusable_coverage.yml CodeQL: - if: github.repository == 'octo-org/octo-repo-prod' + if: github.repository == 'octo-org/octo-repo-prod' needs: [Build] permissions: contents: read From 92a698abc4d343198f418a27365b7caa37848977 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Thu, 24 Apr 2025 08:14:11 +0200 Subject: [PATCH 31/34] Update nightly.yml --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b926d1d0c..9a355a241 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -137,7 +137,7 @@ jobs: if: matrix.generator == 'Unix Makefiles' env: UMF_TESTS_FAIL_ON_SKIP: ON - run: cmake -G "Unix Makefiles" + run: cmake -G "Unix Makefiles" UMF_TESTS_FAIL_ON_SKIP=ON From 468de3e553d726b39140a03d80a347eb652a89de Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Thu, 24 Apr 2025 08:26:08 +0200 Subject: [PATCH 32/34] Update nightly.yml --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9a355a241..2748582ef 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -137,7 +137,7 @@ jobs: if: matrix.generator == 'Unix Makefiles' env: UMF_TESTS_FAIL_ON_SKIP: ON - run: cmake -G "Unix Makefiles" UMF_TESTS_FAIL_ON_SKIP=ON + run: cmake -G "Unix Makefiles" -DUMF_TESTS_FAIL_ON_SKIP=ON From 261146680491cd5d845050fce7a456708668f53a Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Thu, 24 Apr 2025 14:41:43 +0200 Subject: [PATCH 33/34] Update nightly.yml --- .github/workflows/nightly.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 2748582ef..f9dcc7beb 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -133,11 +133,11 @@ jobs: if: matrix.generator == 'Ninja' uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 - - name: NMake Makefiles - if: matrix.generator == 'Unix Makefiles' - env: - UMF_TESTS_FAIL_ON_SKIP: ON - run: cmake -G "Unix Makefiles" -DUMF_TESTS_FAIL_ON_SKIP=ON + # - name: NMake Makefiles + # if: matrix.generator == 'Unix Makefiles' + # env: + # UMF_TESTS_FAIL_ON_SKIP: ON + # run: cmake -G "Unix Makefiles" -DUMF_TESTS_FAIL_ON_SKIP=ON From 24ce01db0de5831a81986770b081cc814fd33c00 Mon Sep 17 00:00:00 2001 From: opensource-krzysztof <152877665+opensource-krzysztof@users.noreply.github.com> Date: Fri, 25 Apr 2025 11:47:53 +0200 Subject: [PATCH 34/34] Update nightly.yml --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f9dcc7beb..26ff23fa7 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,5 +1,5 @@ # Various non-standard tests, requiring e.g. longer run -name: Nightly +name: Nightly. # This job is run at 04:00 UTC every day or on demand. on: