Files
cpp-project-template/.gitea/workflows/build.yaml
tqcq ea9d7b5f8c
All checks were successful
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 1m7s
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m15s
sm-rpc / build (Debug, host.gcc) (push) Successful in 1m4s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 1m16s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 1m34s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 1m33s
sm-rpc / build (Release, host.gcc) (push) Successful in 1m23s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 1m30s
feat(third_party): add oatpp,googltest,benchmark
2025-08-19 17:19:37 +08:00

27 lines
623 B
YAML

name: sm-rpc
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 -pv build && cd build
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAINS}/${{ matrix.toolchain }}.toolchain.cmake
make -j`nproc`