From 50f3300607d748e538e25db1c823501f1d01b0c4 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 10 Nov 2020 14:24:16 +0100 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0d14ae9e4..76b02084c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,11 +9,14 @@ on: jobs: build: runs-on: ubuntu-18.04 + shell: bash strategy: matrix: arch: [linux/386, linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/ppc64le] steps: + - name: Install sudo package + run: apt-get update && apt-get install -y sudo - uses: actions/checkout@v2 with: submodules: "recursive" @@ -25,10 +28,8 @@ jobs: key: ${{ runner.os }}-ccache-all restore-keys: | ${{ runner.os }}-ccache- - - name: Update archives - run: apt-get update && apt-get install sudo - name: Install build tools - run: sudo apt-get install make git zlib1g-dev libssl-dev gperf php-cli cmake clang-6.0 libc++-dev libc++abi-dev ccache + run: sudo apt-get install -y make git zlib1g-dev libssl-dev gperf php-cli cmake clang-6.0 libc++-dev libc++abi-dev ccache - name: Build run: | mkdir build @@ -39,3 +40,4 @@ jobs: with: name: tdlight path: tdlib/libtdjson.so +