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:
parent
4404d011c4
commit
b5481baf02
2
.github/workflows/containers.yml
vendored
2
.github/workflows/containers.yml
vendored
@ -341,6 +341,8 @@ jobs:
|
|||||||
- name: Create and run container from 'build' candidate image
|
- name: Create and run container from 'build' candidate image
|
||||||
shell: bash
|
shell: bash
|
||||||
run: docker run -d -it --name candidate ${{ env.docker-args }} ${{ steps.paths.outputs.build-candidate }}
|
run: docker run -d -it --name candidate ${{ env.docker-args }} ${{ steps.paths.outputs.build-candidate }}
|
||||||
|
- name: Test cmake
|
||||||
|
run: cmake --version
|
||||||
- name: Test diff
|
- name: Test diff
|
||||||
run: diff --version
|
run: diff --version
|
||||||
- name: Test west init
|
- name: Test west init
|
||||||
|
@ -32,8 +32,7 @@ RUN \
|
|||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
&& cmake --version
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user