Files
cpp-project-template/.gitea/workflows/build.yaml
tqcq 34ea311466
Some checks failed
cpp-template / build (Debug, arm-linux-gnueabihf) (push) Has started running
cpp-template / build (Debug, aarch64-linux-gnu) (push) Failing after 1m33s
cpp-template / build (Debug, host.gcc) (push) Failing after 2m12s
cpp-template / build (Debug, mipsel-linux-gnu) (push) Failing after 1m28s
cpp-template / build (Release, arm-linux-gnueabihf) (push) Failing after 2m1s
cpp-template / build (Release, aarch64-linux-gnu) (push) Failing after 3m44s
cpp-template / build (Release, host.gcc) (push) Failing after 1m58s
cpp-template / build (Release, mipsel-linux-gnu) (push) Failing after 1m50s
fix: workflows
2025-08-26 00:58:01 +08:00

27 lines
648 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=ON
make -j`nproc`