Files
cpp-project-template/.gitea/workflows/build.yaml
tqcq cf49554574
Some checks failed
cpp-template / build (Debug, aarch64-linux-gnu) (push) Failing after 27s
cpp-template / build (Release, mipsel-linux-gnu) (push) Failing after 12m45s
cpp-template / build (Release, host.gcc) (push) Failing after 12m52s
cpp-template / build (Release, arm-linux-gnueabihf) (push) Failing after 12m55s
cpp-template / build (Release, aarch64-linux-gnu) (push) Failing after 13m1s
cpp-template / build (Debug, mipsel-linux-gnu) (push) Failing after 13m6s
cpp-template / build (Debug, host.gcc) (push) Failing after 13m11s
cpp-template / build (Debug, arm-linux-gnueabihf) (push) Failing after 13m19s
feat add tracy profiler
2025-08-25 15:52:04 +08:00

27 lines
645 B
YAML

name: cpp-template
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 -DWITH_EXAMPLES
make -j`nproc`