From bec07464dfe153b3fb8028b30f1ec4fea4c88b38 Mon Sep 17 00:00:00 2001 From: Nikolay Petrov Date: Wed, 13 Sep 2023 18:53:40 +0100 Subject: [PATCH] fixing bazel ci --- .ci/pipeline/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.ci/pipeline/ci.yml b/.ci/pipeline/ci.yml index c08e8ac587e..0cf22f8d1ab 100755 --- a/.ci/pipeline/ci.yml +++ b/.ci/pipeline/ci.yml @@ -218,13 +218,13 @@ 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: @@ -232,27 +232,27 @@ jobs: 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