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
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
name: linux-x64-gcc
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".gitea/workflows/linux-x64-gcc.yml"
|
|
- "cmake/**"
|
|
- "third_party/**"
|
|
- "tile/**"
|
|
- "!tile/fiber/detail/asm/*"
|
|
- "tile/fiber/detail/asm/ucontext_x64.*"
|
|
- "CMakeLists.txt"
|
|
pull_request:
|
|
paths:
|
|
- ".gitea/workflows/linux-x64-gcc.yml"
|
|
- "cmake/**"
|
|
- "third_party/**"
|
|
- "tile/**"
|
|
- "!tile/fiber/detail/asm/*"
|
|
- "tile/fiber/detail/asm/ucontext_x64.*"
|
|
- "CMakeLists.txt"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
linux-gcc:
|
|
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
|
|
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 -j $(nproc)
|
|
- name: benchmark
|
|
run: |
|
|
./build/bin/tile_bm_all
|