Update build.yaml

This commit is contained in:
Andrea Cavalli 2020-11-10 13:22:21 +01:00
parent 939f7a8774
commit cd594e14dd

View File

@ -8,13 +8,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
arch: [linux/386, linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64, linux/ppc64le]
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Cache Primes
- name: Cache ccache
id: cache-primes
uses: actions/cache@v2
with:
@ -31,4 +34,8 @@ jobs:
mkdir build
cd build
CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang-10 CXX=/usr/bin/clang++-10 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../tdlib ..
cmake --build . --target install
cmake --build . --target install -- -j4
- uses: actions/upload-artifact@v2
with:
name: tdlight
path: tdlib/libtdjson.so