Skip to content

Commit 112c498

Browse files
committed
CI: Install CMake in docker container
1 parent c898434 commit 112c498

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,15 @@ jobs:
210210
echo "::set-output name=id::$(cat container_id)"
211211
- name: Install Alpine system dependencies
212212
if: ${{ matrix.libc == 'musl' }}
213-
run: docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar
213+
run: docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apk add --no-cache build-base linux-headers bash python3 git curl tar cmake
214+
- name: Install Debian system dependencies
215+
if: ${{ matrix.libc == 'gnu' }}
216+
run: |
217+
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apt-get update
218+
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apt-get install -y cmake
214219
- name: Install Debian cross-compiler
215220
if: ${{ matrix.libc == 'gnu' && matrix.platform != 'amd64' }}
216221
run: |
217-
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apt-get update
218222
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} apt-get install -y binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
219223
- name: Checkout
220224
uses: actions/checkout@v2

0 commit comments

Comments
 (0)