Files
tile/.gitea/workflows/linux-x64-clang.yml
tqcq 6f52dde867
All checks were successful
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Successful in 14m49s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Successful in 8m51s
linux-arm-gcc / linux-gcc-arm (Release) (push) Successful in 8m0s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Successful in 9m19s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Successful in 8m38s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Successful in 8m53s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 8m35s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 9m23s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Successful in 8m50s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Successful in 8m52s
linux-x64-clang / linux-clang (Debug) (push) Successful in 6m42s
linux-x64-clang / linux-clang (Release) (push) Successful in 6m47s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 9m1s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 8m48s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 9m51s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 9m38s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Successful in 10m10s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Successful in 9m2s
feat: add retry for install tools
2025-12-24 16:30:53 +08:00

57 lines
1.3 KiB
YAML

name: linux-x64-clang
on:
push:
paths:
- ".gitea/workflows/linux-x64-clang.yml"
- "cmake/**"
- "third_party/**"
- "tile/**"
- "CMakeLists.txt"
pull_request:
paths:
- ".gitea/workflows/linux-x64-clang.yml"
- "cmake/**"
- "third_party/**"
- "tile/**"
- "CMakeLists.txt"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
linux-clang:
runs-on: ubuntu-20.04
strategy:
matrix:
build_type: ["Debug", "Release"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: install-tools
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 3
command: |
sudo apt-get update -y
sudo apt-get install -y ninja-build
- name: configure
env:
CC: clang
CXX: clang++
run: |
mkdir build && cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON ..
- name: build
run: |
cmake --build build -j $(nproc)
- name: test
run: |
cd build
ctest --output-on-failure
# - name: benchmark
# run: |
# ./build/sled_benchmark