init repo.
All checks were successful
phxrpc / build (Debug, aarch64-linux-gnu) (push) Successful in 3m57s
phxrpc / build (Debug, host.gcc) (push) Successful in 4m0s
phxrpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m7s
phxrpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 28m44s
phxrpc / build (Release, aarch64-linux-gnu) (push) Successful in 3m59s
phxrpc / build (Release, host.gcc) (push) Successful in 4m46s
phxrpc / build (Release, mipsel-linux-gnu) (push) Successful in 3m26s
phxrpc / build (Release, arm-linux-gnueabihf) (push) Successful in 9m11s
All checks were successful
phxrpc / build (Debug, aarch64-linux-gnu) (push) Successful in 3m57s
phxrpc / build (Debug, host.gcc) (push) Successful in 4m0s
phxrpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m7s
phxrpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 28m44s
phxrpc / build (Release, aarch64-linux-gnu) (push) Successful in 3m59s
phxrpc / build (Release, host.gcc) (push) Successful in 4m46s
phxrpc / build (Release, mipsel-linux-gnu) (push) Successful in 3m26s
phxrpc / build (Release, arm-linux-gnueabihf) (push) Successful in 9m11s
This commit is contained in:
35
.gitea/workflows/build.yaml
Normal file
35
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
name: phxrpc
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
tags:
|
||||
- v*
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain:
|
||||
- host.gcc
|
||||
- aarch64-linux-gnu
|
||||
- arm-linux-gnueabihf
|
||||
- mipsel-linux-gnu
|
||||
build_type: [Debug, Release]
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: tqcq/aw-centos:8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: build
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${TOOLCHAINS}/${{matrix.toolchain}}.toolchain.cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=install/phxrpc
|
||||
make -j`nproc` install
|
||||
rm -rf install/phxrpc/lib/cmake install/phxrpc/lib/libproto* install/phxrpc/lib/pkgconfig
|
||||
- name: upload-artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: phxrpc-${{matrix.toolchain}}-${{matrix.build_type}}.zip
|
||||
compression-level: 9
|
||||
path: build/install
|
Reference in New Issue
Block a user