Update build.yaml
This commit is contained in:
parent
939f7a8774
commit
cd594e14dd
13
.github/workflows/build.yaml
vendored
13
.github/workflows/build.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user