2024-08-09 23:02:44 +08:00
|
|
|
when:
|
2024-08-09 23:15:17 +08:00
|
|
|
- event: []
|
|
|
|
#- push
|
|
|
|
#- pull_request
|
2024-08-09 23:02:44 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
BUILD_TYPE:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: linux-arm-gcc-build
|
|
|
|
image: art.uocat.com/docker/tqcq/cross:v1.0.1
|
|
|
|
commands:
|
|
|
|
- mkdir build
|
|
|
|
- cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=./toolchains/arm-linux-gnueabihf.toolchain.cmake
|
|
|
|
- cmake --build build -j $(nproc)
|
|
|
|
|
|
|
|
- name: linux-arm-gcc-test
|
|
|
|
image: art.uocat.com/docker/tqcq/cross:v1.0.1
|
|
|
|
commands:
|
|
|
|
- cd build
|
|
|
|
- ctest --output-on-failure -j $(nproc)
|
|
|
|
|
|
|
|
# - name: linux-arm-gcc-benchmark
|
|
|
|
# image: art.uocat.com/docker/tqcq/cross:v1.0.1
|
|
|
|
# commands:
|
|
|
|
# - ./build/bin/tile_bm_all
|
|
|
|
|
|
|
|
|