refactor(common): move cmake --version from Dockerfile to tests

Makes it easier to check the `cmake` version against the Zephyr documentation, especially when the layer is already cached.

PR: #71
This commit is contained in:
innovaker 2021-06-10 20:23:56 +01:00
parent 4404d011c4
commit b5481baf02
2 changed files with 3 additions and 2 deletions

View File

@ -341,6 +341,8 @@ jobs:
- name: Create and run container from 'build' candidate image
shell: bash
run: docker run -d -it --name candidate ${{ env.docker-args }} ${{ steps.paths.outputs.build-candidate }}
- name: Test cmake
run: cmake --version
- name: Test diff
run: diff --version
- name: Test west init

View File

@ -32,8 +32,7 @@ RUN \
python3-setuptools \
python3-wheel \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& cmake --version
&& rm -rf /var/lib/apt/lists/*
#------------------------------------------------------------------------------