From 32a352c1249a229c6ec53c91e659ece6b5af7531 Mon Sep 17 00:00:00 2001 From: Cloud Han Date: Sun, 3 Sep 2023 11:03:15 +0800 Subject: [PATCH] Disable all and test only the one --- .github/workflows/build-tests.yaml | 77 ++++++------ .github/workflows/github-pages.yaml | 136 ++++++++++---------- .github/workflows/integration-tests.yaml | 153 ++++++++++++----------- .github/workflows/pre-commit.yaml | 40 +++--- .github/workflows/release.yaml | 144 ++++++++++----------- .github/workflows/utilities-tests.yaml | 74 +++++------ 6 files changed, 313 insertions(+), 311 deletions(-) diff --git a/.github/workflows/build-tests.yaml b/.github/workflows/build-tests.yaml index a06a26d8..63242245 100644 --- a/.github/workflows/build-tests.yaml +++ b/.github/workflows/build-tests.yaml @@ -15,51 +15,52 @@ jobs: matrix: cases: - { os: "ubuntu-20.04", cuda-version: "11.2.2", source: "nvidia" } - - { os: "ubuntu-20.04", cuda-version: "11.6.2", source: "nvidia" } - - { - os: "ubuntu-20.04", - cuda-version: "11.6.2", - source: "nvidia", - toolchain: "llvm", - toolchain-version: "16", - } - - { - os: "ubuntu-22.04", - cuda-version: "11.5.1-1ubuntu1", - source: "ubuntu", - } - - { os: "windows-2019", cuda-version: "10.1.243", source: "nvidia" } - - { os: "windows-2019", cuda-version: "11.6.2", source: "nvidia" } + # - { os: "ubuntu-20.04", cuda-version: "11.6.2", source: "nvidia" } + # - { + # os: "ubuntu-20.04", + # cuda-version: "11.6.2", + # source: "nvidia", + # toolchain: "llvm", + # toolchain-version: "16", + # } + # - { + # os: "ubuntu-22.04", + # cuda-version: "11.5.1-1ubuntu1", + # source: "ubuntu", + # } + # - { os: "windows-2019", cuda-version: "10.1.243", source: "nvidia" } + # - { os: "windows-2019", cuda-version: "11.6.2", source: "nvidia" } steps: - uses: actions/checkout@v3 - - uses: bazelbuild/setup-bazelisk@v2 - - name: Mount bazel cache - if: ${{ !startsWith(matrix.cases.os, 'windows') }} - uses: actions/cache@v3 - with: - path: ~/.cache/bazel - key: bazel-${{ matrix.cases.os }}-cuda-${{ matrix.cases.cuda-version }}-${{ hashFiles('.bazelversion') }} - - uses: ./.github/actions/set-build-env with: case: ${{ matrix.cases }} - - name: Bazel build config for LLVM - if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.toolchain == 'llvm' }} - run: | - echo "build --config=clang" > $HOME/.bazelrc - echo "build:clang --@rules_cuda//cuda:archs=sm_80" >> $HOME/.bazelrc - echo "build:clang --spawn_strategy=local" >> $HOME/.bazelrc + # - uses: bazelbuild/setup-bazelisk@v2 + # - name: Mount bazel cache + # if: ${{ !startsWith(matrix.cases.os, 'windows') }} + # uses: actions/cache@v3 + # with: + # path: ~/.cache/bazel + # key: bazel-${{ matrix.cases.os }}-cuda-${{ matrix.cases.cuda-version }}-${{ hashFiles('.bazelversion') }} + + + # - name: Bazel build config for LLVM + # if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.toolchain == 'llvm' }} + # run: | + # echo "build --config=clang" > $HOME/.bazelrc + # echo "build:clang --@rules_cuda//cuda:archs=sm_80" >> $HOME/.bazelrc + # echo "build:clang --spawn_strategy=local" >> $HOME/.bazelrc - - run: bazelisk build @rules_cuda_examples//basic:all - - run: bazelisk build @rules_cuda_examples//rdc:all - - run: bazelisk build @rules_cuda_examples//if_cuda:main - - run: bazelisk build @rules_cuda_examples//if_cuda:main --enable_cuda=False + # - run: bazelisk build @rules_cuda_examples//basic:all + # - run: bazelisk build @rules_cuda_examples//rdc:all + # - run: bazelisk build @rules_cuda_examples//if_cuda:main + # - run: bazelisk build @rules_cuda_examples//if_cuda:main --enable_cuda=False - - run: cd examples && bazelisk build //basic:all --config=bzlmod - - run: cd examples && bazelisk build //rdc:all --config=bzlmod - - run: cd examples && bazelisk build //if_cuda:main --config=bzlmod - - run: cd examples && bazelisk build //if_cuda:main --enable_cuda=False --config=bzlmod + # - run: cd examples && bazelisk build //basic:all --config=bzlmod + # - run: cd examples && bazelisk build //rdc:all --config=bzlmod + # - run: cd examples && bazelisk build //if_cuda:main --config=bzlmod + # - run: cd examples && bazelisk build //if_cuda:main --enable_cuda=False --config=bzlmod - - run: bazelisk shutdown + # - run: bazelisk shutdown diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index f2acc1b7..46be93e2 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -1,79 +1,79 @@ -name: Generate docs +# name: Generate docs -on: - pull_request: - branches: - - main - push: - branches: - - main +# on: +# pull_request: +# branches: +# - main +# push: +# branches: +# - main -jobs: - pages: - runs-on: ubuntu-latest - strategy: - matrix: - docs: - # { ref: , name: } - - { ref: main, name: latest } - steps: - - uses: actions/checkout@v3 - if: ${{ matrix.docs.ref == 'main' }} - - uses: actions/checkout@v3 - with: - ref: ${{ matrix.docs.ref }} - if: ${{ matrix.docs.ref != 'main' }} +# jobs: +# pages: +# runs-on: ubuntu-latest +# strategy: +# matrix: +# docs: +# # { ref: , name: } +# - { ref: main, name: latest } +# steps: +# - uses: actions/checkout@v3 +# if: ${{ matrix.docs.ref == 'main' }} +# - uses: actions/checkout@v3 +# with: +# ref: ${{ matrix.docs.ref }} +# if: ${{ matrix.docs.ref != 'main' }} - - uses: bazelbuild/setup-bazelisk@v2 - - name: Mount bazel cache - uses: actions/cache@v3 - with: - path: ~/.cache/bazel - key: bazel-gen-docs-${{ matrix.docs.ref }} +# - uses: bazelbuild/setup-bazelisk@v2 +# - name: Mount bazel cache +# uses: actions/cache@v3 +# with: +# path: ~/.cache/bazel +# key: bazel-gen-docs-${{ matrix.docs.ref }} - - uses: actions/setup-python@v4 - with: - python-version: "3.10" - cache: pip +# - uses: actions/setup-python@v4 +# with: +# python-version: "3.10" +# cache: pip - - name: Generate docs - run: bash ./build-docs.sh - env: - CI: 1 - working-directory: ${{ github.workspace }}/docs +# - name: Generate docs +# run: bash ./build-docs.sh +# env: +# CI: 1 +# working-directory: ${{ github.workspace }}/docs - - run: bazelisk shutdown +# - run: bazelisk shutdown - - uses: actions/upload-artifact@v3 - with: - name: "${{ matrix.docs.name }}" - path: ${{ github.workspace }}/docs/site/ - if-no-files-found: error - if: ${{ github.event_name != 'pull_request' }} +# - uses: actions/upload-artifact@v3 +# with: +# name: "${{ matrix.docs.name }}" +# path: ${{ github.workspace }}/docs/site/ +# if-no-files-found: error +# if: ${{ github.event_name != 'pull_request' }} - publish: - needs: pages - if: ${{ github.event_name != 'pull_request' }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 +# publish: +# needs: pages +# if: ${{ github.event_name != 'pull_request' }} +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 - with: - path: ${{ github.workspace }}/docs/generated - - name: Inspect docs site directory structure - run: find ${{ github.workspace }}/docs/generated -maxdepth 2 +# - uses: actions/download-artifact@v3 +# with: +# path: ${{ github.workspace }}/docs/generated +# - name: Inspect docs site directory structure +# run: find ${{ github.workspace }}/docs/generated -maxdepth 2 - - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - run: | - pip install packaging==23.* - python versioning.py generated/ - working-directory: ${{ github.workspace }}/docs +# - uses: actions/setup-python@v4 +# with: +# python-version: "3.10" +# - run: | +# pip install packaging==23.* +# python versioning.py generated/ +# working-directory: ${{ github.workspace }}/docs - - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/generated - force_orphan: true +# - uses: peaceiris/actions-gh-pages@v3 +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} +# publish_dir: ./docs/generated +# force_orphan: true diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index a2daa66b..8be6e3d7 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -1,84 +1,85 @@ -name: Integration Build +# name: Integration Build -on: - workflow_dispatch: - issue_comment: - types: [created] +# # based on https://dev.to/zirkelc/trigger-github-workflow-for-comment-on-pull-request-45l2 +# on: +# workflow_dispatch: +# issue_comment: +# types: [created] -jobs: - test: - name: "Integration Test Build (CUDA ${{ matrix.cases.cuda-version }} on ${{ matrix.cases.os }})" - if: github.event_name == 'workflow_dispatch' || (github.event.issue.pull_request && contains(github.event.comment.body, '/test')) - runs-on: ${{ matrix.cases.os }} - timeout-minutes: 60 - strategy: - matrix: - cases: - - { os: "ubuntu-20.04", cuda-version: "11.6.2", source: "nvidia" } - - { - os: "ubuntu-20.04", - cuda-version: "11.6.2", - source: "nvidia", - toolchain: "llvm", - toolchain-version: "16", - } - steps: - # Checkout branch depending event type - - name: Checkout main branch - if: github.event_name == 'workflow_dispatch' - uses: actions/checkout@v3 +# jobs: +# test: +# name: "Integration Test Build (CUDA ${{ matrix.cases.cuda-version }} on ${{ matrix.cases.os }})" +# if: github.event_name == 'workflow_dispatch' || (github.event.issue.pull_request && contains(github.event.comment.body, '/test')) +# runs-on: ${{ matrix.cases.os }} +# timeout-minutes: 60 +# strategy: +# matrix: +# cases: +# - { os: "ubuntu-20.04", cuda-version: "11.6.2", source: "nvidia" } +# - { +# os: "ubuntu-20.04", +# cuda-version: "11.6.2", +# source: "nvidia", +# toolchain: "llvm", +# toolchain-version: "16", +# } +# steps: +# # Checkout branch depending event type +# - name: Checkout main branch +# if: github.event_name == 'workflow_dispatch' +# uses: actions/checkout@v3 - - name: Get PR branch - if: github.event.issue.pull_request - uses: xt0rted/pull-request-comment-branch@v1 - id: comment-branch - - name: Checkout PR branch - if: github.event.issue.pull_request - uses: actions/checkout@v3 - with: - ref: ${{ steps.comment-branch.outputs.head_ref }} +# - name: Get PR branch +# if: github.event.issue.pull_request +# uses: xt0rted/pull-request-comment-branch@v1 +# id: comment-branch +# - name: Checkout PR branch +# if: github.event.issue.pull_request +# uses: actions/checkout@v3 +# with: +# ref: ${{ steps.comment-branch.outputs.head_ref }} - # Setup environment - - uses: bazelbuild/setup-bazelisk@v2 - - name: Mount bazel cache - if: ${{ !startsWith(matrix.cases.os, 'windows') }} - uses: actions/cache@v3 - with: - path: ~/.cache/bazel - key: bazel-${{ matrix.cases.os }}-cuda-${{ matrix.cases.cuda-version }}-${{ hashFiles('.bazelversion') }} +# # Setup environment +# - uses: bazelbuild/setup-bazelisk@v2 +# - name: Mount bazel cache +# if: ${{ !startsWith(matrix.cases.os, 'windows') }} +# uses: actions/cache@v3 +# with: +# path: ~/.cache/bazel +# key: bazel-${{ matrix.cases.os }}-cuda-${{ matrix.cases.cuda-version }}-${{ hashFiles('.bazelversion') }} - - name: Install CUDA (NVIDIA, Linux) - uses: Jimver/cuda-toolkit@v0.2.11 - if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.source == 'nvidia' }} - with: - cuda: ${{ matrix.cases.cuda-version }} - sub-packages: '["nvcc", "cudart-dev"]' - method: network - - name: Show bin, include, lib (NVIDIA, Linux) - if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.source == 'nvidia' }} - run: | - tree ${CUDA_PATH}/bin - tree ${CUDA_PATH}/include - tree ${CUDA_PATH}/lib64 - - name: Install LLVM ${{ matrix.cases.toolchain-version }} - if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.toolchain == 'llvm' }} - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x llvm.sh - sudo ./llvm.sh ${{ matrix.cases.toolchain-version }} - sudo ln -sf /usr/bin/clang-${{ matrix.cases.toolchain-version }} /usr/bin/clang - clang --version +# - name: Install CUDA (NVIDIA, Linux) +# uses: Jimver/cuda-toolkit@v0.2.11 +# if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.source == 'nvidia' }} +# with: +# cuda: ${{ matrix.cases.cuda-version }} +# sub-packages: '["nvcc", "cudart-dev"]' +# method: network +# - name: Show bin, include, lib (NVIDIA, Linux) +# if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.source == 'nvidia' }} +# run: | +# tree ${CUDA_PATH}/bin +# tree ${CUDA_PATH}/include +# tree ${CUDA_PATH}/lib64 +# - name: Install LLVM ${{ matrix.cases.toolchain-version }} +# if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.toolchain == 'llvm' }} +# run: | +# wget https://apt.llvm.org/llvm.sh +# chmod +x llvm.sh +# sudo ./llvm.sh ${{ matrix.cases.toolchain-version }} +# sudo ln -sf /usr/bin/clang-${{ matrix.cases.toolchain-version }} /usr/bin/clang +# clang --version - echo "build --config=clang" > $HOME/.bazelrc - - name: Install CURAND For LLVM - uses: Jimver/cuda-toolkit@v0.2.11 - if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.toolchain == 'llvm' }} - with: - cuda: ${{ matrix.cases.cuda-version }} - sub-packages: '["nvcc", "cudart-dev"]' # avoid full cuda install - non-cuda-sub-packages: '["libcurand-dev"]' - method: network +# echo "build --config=clang" > $HOME/.bazelrc +# - name: Install CURAND For LLVM +# uses: Jimver/cuda-toolkit@v0.2.11 +# if: ${{ !startsWith(matrix.cases.os, 'windows') && matrix.cases.toolchain == 'llvm' }} +# with: +# cuda: ${{ matrix.cases.cuda-version }} +# sub-packages: '["nvcc", "cudart-dev"]' # avoid full cuda install +# non-cuda-sub-packages: '["libcurand-dev"]' +# method: network - - run: bazelisk build --verbose_failures --spawn_strategy=local --cuda_archs='compute_80,sm_80' @rules_cuda_examples//nccl:perf_binaries +# - run: bazelisk build --verbose_failures --spawn_strategy=local --cuda_archs='compute_80,sm_80' @rules_cuda_examples//nccl:perf_binaries - - run: bazelisk shutdown +# - run: bazelisk shutdown diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 4e39bfc8..8cb31393 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -1,22 +1,22 @@ -name: pre-commit +# name: pre-commit -on: - push: - branches: - - main - pull_request: +# on: +# push: +# branches: +# - main +# pull_request: -jobs: - pre-commit: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v3 - - name: set PY - run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v3 - with: - path: ~/.cache/pre-commit - key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} - - uses: pre-commit/action@v3.0.0 - - uses: pre-commit-ci/lite-action@v1.0.1 - if: always() +# jobs: +# pre-commit: +# runs-on: ubuntu-22.04 +# steps: +# - uses: actions/checkout@v3 +# - name: set PY +# run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV +# - uses: actions/cache@v3 +# with: +# path: ~/.cache/pre-commit +# key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} +# - uses: pre-commit/action@v3.0.0 +# - uses: pre-commit-ci/lite-action@v1.0.1 +# if: always() diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8571e045..b6dc5505 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,74 +1,74 @@ -# Cut a release whenever a new tag is pushed to the repo. -# You should use an annotated tag, like `git tag -a v1.2.3` -# and put the release notes into the commit message for the tag. -name: Release +# # Cut a release whenever a new tag is pushed to the repo. +# # You should use an annotated tag, like `git tag -a v1.2.3` +# # and put the release notes into the commit message for the tag. +# name: Release -on: - push: - tags: - - "v*.*.*" +# on: +# push: +# tags: +# - "v*.*.*" -jobs: - build: - runs-on: ${{ matrix.os }} - timeout-minutes: 60 - strategy: - matrix: - os: - - ubuntu-22.04 - cuda-version: - - 11.6.2 - steps: - - name: Checkout - uses: actions/checkout@v3 - - uses: bazelbuild/setup-bazelisk@v2 - - name: Mount bazel cache - uses: actions/cache@v3 - with: - path: ~/.cache/bazel - key: bazel-${{ matrix.os }}-cuda-${{ matrix.cuda-version }}-${{ hashFiles('.bazelversion') }} - - name: Install CUDA (Linux) - uses: Jimver/cuda-toolkit@v0.2.11 - with: - cuda: ${{ matrix.cuda-version }} - sub-packages: '["nvcc", "cudart-dev"]' - method: network - - name: bazel test //... - env: - # Bazelisk will download bazel to here - XDG_CACHE_HOME: ~/.cache/bazel-repo - run: bazelisk --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //... - - name: Create rules archive - run: | - PREFIX="rules_cuda-${GITHUB_REF_NAME}" - git archive --format=tar.gz --prefix=${PREFIX}/ ${GITHUB_REF_NAME} -o ${{ github.workspace }}/.github/rules_cuda.tar.gz - echo "ARCHIVE_SHA256=$(shasum -a 256 ${{ github.workspace }}/.github/rules_cuda.tar.gz | cut -d ' ' -f 1)" >> $GITHUB_ENV - echo "RELEASE_VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV - # Upload the artifact in case creating a release fails so all artifacts can then be manually recovered. - - uses: actions/upload-artifact@v3 - with: - name: "rules_cuda.tar.gz" - path: ${{ github.workspace }}/.github/rules_cuda.tar.gz - if-no-files-found: error - - name: Prepare workspace snippet - run: | - sed 's/{version}/${{ env.RELEASE_VERSION }}/g' ${{ github.workspace }}/.github/release_notes.template \ - | sed 's/{archive_sha256}/${{ env.ARCHIVE_SHA256 }}/g' \ - > ${{ github.workspace }}/.github/release_notes.txt - - name: Create the release - uses: softprops/action-gh-release@v1 - id: rules_cuda_release - with: - prerelease: true - # Use GH feature to populate the changelog automatically - generate_release_notes: true - body_path: ${{ github.workspace }}/.github/release_notes.txt - - name: "Upload the rules archive" - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.rules_cuda_release.outputs.upload_url }} - asset_name: rules_cuda-${{ env.RELEASE_VERSION }}.tar.gz - asset_path: ${{ github.workspace }}/.github/rules_cuda.tar.gz - asset_content_type: application/gzip +# jobs: +# build: +# runs-on: ${{ matrix.os }} +# timeout-minutes: 60 +# strategy: +# matrix: +# os: +# - ubuntu-22.04 +# cuda-version: +# - 11.6.2 +# steps: +# - name: Checkout +# uses: actions/checkout@v3 +# - uses: bazelbuild/setup-bazelisk@v2 +# - name: Mount bazel cache +# uses: actions/cache@v3 +# with: +# path: ~/.cache/bazel +# key: bazel-${{ matrix.os }}-cuda-${{ matrix.cuda-version }}-${{ hashFiles('.bazelversion') }} +# - name: Install CUDA (Linux) +# uses: Jimver/cuda-toolkit@v0.2.11 +# with: +# cuda: ${{ matrix.cuda-version }} +# sub-packages: '["nvcc", "cudart-dev"]' +# method: network +# - name: bazel test //... +# env: +# # Bazelisk will download bazel to here +# XDG_CACHE_HOME: ~/.cache/bazel-repo +# run: bazelisk --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //... +# - name: Create rules archive +# run: | +# PREFIX="rules_cuda-${GITHUB_REF_NAME}" +# git archive --format=tar.gz --prefix=${PREFIX}/ ${GITHUB_REF_NAME} -o ${{ github.workspace }}/.github/rules_cuda.tar.gz +# echo "ARCHIVE_SHA256=$(shasum -a 256 ${{ github.workspace }}/.github/rules_cuda.tar.gz | cut -d ' ' -f 1)" >> $GITHUB_ENV +# echo "RELEASE_VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV +# # Upload the artifact in case creating a release fails so all artifacts can then be manually recovered. +# - uses: actions/upload-artifact@v3 +# with: +# name: "rules_cuda.tar.gz" +# path: ${{ github.workspace }}/.github/rules_cuda.tar.gz +# if-no-files-found: error +# - name: Prepare workspace snippet +# run: | +# sed 's/{version}/${{ env.RELEASE_VERSION }}/g' ${{ github.workspace }}/.github/release_notes.template \ +# | sed 's/{archive_sha256}/${{ env.ARCHIVE_SHA256 }}/g' \ +# > ${{ github.workspace }}/.github/release_notes.txt +# - name: Create the release +# uses: softprops/action-gh-release@v1 +# id: rules_cuda_release +# with: +# prerelease: true +# # Use GH feature to populate the changelog automatically +# generate_release_notes: true +# body_path: ${{ github.workspace }}/.github/release_notes.txt +# - name: "Upload the rules archive" +# uses: actions/upload-release-asset@v1 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# with: +# upload_url: ${{ steps.rules_cuda_release.outputs.upload_url }} +# asset_name: rules_cuda-${{ env.RELEASE_VERSION }}.tar.gz +# asset_path: ${{ github.workspace }}/.github/rules_cuda.tar.gz +# asset_content_type: application/gzip diff --git a/.github/workflows/utilities-tests.yaml b/.github/workflows/utilities-tests.yaml index 1710f2ce..a654bdaa 100644 --- a/.github/workflows/utilities-tests.yaml +++ b/.github/workflows/utilities-tests.yaml @@ -1,43 +1,43 @@ -name: Test Utilities +# name: Test Utilities -on: - push: - branches: - - main - pull_request: +# on: +# push: +# branches: +# - main +# pull_request: -jobs: - test: - name: "Test Utilities (bazel ${{ matrix.bazel-version }} on ${{ matrix.os }})" - runs-on: ${{ matrix.os }} - timeout-minutes: 60 - strategy: - matrix: - os: - - ubuntu-20.04 - - windows-2019 - bazel-version: - - 5.0.0 - - 5.2.0 - env: - USE_BAZEL_VERSION: ${{ matrix.bazel-version }} - steps: - - uses: actions/checkout@v3 +# jobs: +# test: +# name: "Test Utilities (bazel ${{ matrix.bazel-version }} on ${{ matrix.os }})" +# runs-on: ${{ matrix.os }} +# timeout-minutes: 60 +# strategy: +# matrix: +# os: +# - ubuntu-20.04 +# - windows-2019 +# bazel-version: +# - 5.0.0 +# - 5.2.0 +# env: +# USE_BAZEL_VERSION: ${{ matrix.bazel-version }} +# steps: +# - uses: actions/checkout@v3 - - uses: bazelbuild/setup-bazelisk@v2 - - name: Mount bazel cache - if: ${{ !startsWith(matrix.os, 'windows') }} - uses: actions/cache@v3 - with: - path: ~/.cache/bazel - key: bazel-${{ matrix.os }}-${{ matrix.bazel-version }} +# - uses: bazelbuild/setup-bazelisk@v2 +# - name: Mount bazel cache +# if: ${{ !startsWith(matrix.os, 'windows') }} +# uses: actions/cache@v3 +# with: +# path: ~/.cache/bazel +# key: bazel-${{ matrix.os }}-${{ matrix.bazel-version }} - - uses: Jimver/cuda-toolkit@v0.2.11 - with: - cuda: 11.6.2 - sub-packages: '["cudart"]' - method: network +# - uses: Jimver/cuda-toolkit@v0.2.11 +# with: +# cuda: 11.6.2 +# sub-packages: '["cudart"]' +# method: network - - run: bazelisk test -- //tests/... +# - run: bazelisk test -- //tests/... - - run: bazelisk shutdown +# - run: bazelisk shutdown