Skip to content

Commit

Permalink
fixing bazel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
napetrov committed Sep 13, 2023
1 parent 08f75a3 commit bec0746
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .ci/pipeline/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,41 +218,41 @@ jobs:
echo "build --disk_cache=$(BAZEL_CACHE_DIR) --cpu=avx2" > ~/.bazelrc
# Display oneDAL build configuration
$(BAZEL_VERSION) build @config//:dump
bazel build @config//:dump
echo
cat bazel-bin/external/config/config.json
echo
displayName: 'bazel-configure'
- script: |
$(BAZEL_VERSION) build :release
bazel build :release
displayName: 'release'
- task: PublishPipelineArtifact@1
inputs:
artifactName: '$(platform.type) Bazel build'
targetPath: '$(Build.Repository.LocalPath)/bazel-bin/release'
displayName: 'Upload build artifacts'
- script: |
$(BAZEL_VERSION) test //examples/oneapi/cpp:all \
bazel test //examples/oneapi/cpp:all \
--test_link_mode=dev \
--test_thread_mode=par
displayName: 'cpp-examples-thread-dev'
- script: |
export DALROOT=`pwd`/bazel-bin/release/daal/latest
$(BAZEL_VERSION) test //examples/oneapi/cpp:all \
bazel test //examples/oneapi/cpp:all \
--test_link_mode=release_static \
--test_thread_mode=par
displayName: 'cpp-examples-thread-release-static'
- script: |
export DALROOT=`pwd`/bazel-bin/release/daal/latest
$(BAZEL_VERSION) test //examples/oneapi/cpp:all \
bazel test //examples/oneapi/cpp:all \
--test_link_mode=release_dynamic \
--test_thread_mode=par
displayName: 'cpp-examples-thread-release-dynamic'
- script: |
$(BAZEL_VERSION) test //cpp/oneapi/dal:tests \
bazel test //cpp/oneapi/dal:tests \
--config=host \
--test_link_mode=dev \
--test_thread_mode=par
Expand Down

0 comments on commit bec0746

Please sign in to comment.