Update build.yaml
This commit is contained in:
parent
abe49d27c8
commit
50f3300607
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@ -9,11 +9,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
shell: bash
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [linux/386, linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/ppc64le]
|
arch: [linux/386, linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/ppc64le]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install sudo package
|
||||||
|
run: apt-get update && apt-get install -y sudo
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
@ -25,10 +28,8 @@ jobs:
|
|||||||
key: ${{ runner.os }}-ccache-all
|
key: ${{ runner.os }}-ccache-all
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-ccache-
|
${{ runner.os }}-ccache-
|
||||||
- name: Update archives
|
|
||||||
run: apt-get update && apt-get install sudo
|
|
||||||
- name: Install build tools
|
- 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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -39,3 +40,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: tdlight
|
name: tdlight
|
||||||
path: tdlib/libtdjson.so
|
path: tdlib/libtdjson.so
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user