From: Alexander Zhogov Date: Tue, 6 Oct 2020 10:16:46 +0000 (+0300) Subject: GitHub CI: Add ShellCheck (#2554) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=170782b1c8c68f09b374b324818b4bfc83b86efe;p=platform%2Fupstream%2Fdldt.git GitHub CI: Add ShellCheck (#2554) * Add shellcheck * Remove fetchDepth: 1 --- diff --git a/.ci/azure/linux.yml b/.ci/azure/linux.yml index 8ec853d..b0d6ced 100644 --- a/.ci/azure/linux.yml +++ b/.ci/azure/linux.yml @@ -15,7 +15,6 @@ jobs: steps: - checkout: self clean: true - fetchDepth: 1 lfs: false submodules: recursive path: openvino diff --git a/.ci/azure/mac.yml b/.ci/azure/mac.yml index 1fdc515..86e9842 100644 --- a/.ci/azure/mac.yml +++ b/.ci/azure/mac.yml @@ -15,7 +15,6 @@ jobs: steps: - checkout: self clean: true - fetchDepth: 1 lfs: false submodules: recursive path: openvino diff --git a/.ci/azure/windows.yml b/.ci/azure/windows.yml index e43777a..3b61ee9 100644 --- a/.ci/azure/windows.yml +++ b/.ci/azure/windows.yml @@ -17,7 +17,6 @@ jobs: steps: - checkout: self clean: true - fetchDepth: 1 lfs: false submodules: recursive path: openvino diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml index d05782e..fa6db10 100644 --- a/.github/workflows/code_style.yml +++ b/.github/workflows/code_style.yml @@ -38,7 +38,32 @@ jobs: with: name: ngraph_code_style_diff path: ngraph_code_style_diff.patch - + + ShellCheck: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Install ShellCheck + run: sudo apt --assume-yes install shellcheck + + - name: Install dependencies + run: | + sudo apt --assume-yes install libusb-1.0-0-dev + python3 -m pip install -r ./inference-engine/ie_bridges/python/requirements.txt + + - name: CMake + run: | + mkdir build + cd build + cmake .. + + - name: ShellCheck + run: make ie_shellcheck + working-directory: build + Java: runs-on: ubuntu-18.04 steps: