tile/.gitea/workflows/linux-arm-gcc.yml
tqcq 748262d48b
Some checks failed
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 11m27s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 39m22s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 49m10s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 19m2s
android / build (pull_request) Failing after 13m28s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (pull_request) Failing after 17m16s
linux-arm-gcc / linux-gcc-arm (Debug) (pull_request) Failing after 1h21m17s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (pull_request) Failing after 4h21m5s
linux-arm-gcc / linux-gcc-arm (Release) (pull_request) Failing after 39m31s
linux-arm-gcc / linux-gcc-armhf (Debug) (pull_request) Failing after 57m26s
linux-arm-gcc / linux-gcc-armhf (Release) (pull_request) Failing after 35m6s
linux-mips-gcc / linux-gcc-mipsel (Debug) (pull_request) Has been cancelled
linux-mips-gcc / linux-gcc-mipsel (Release) (pull_request) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Debug) (pull_request) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Release) (pull_request) Has been cancelled
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (pull_request) Has been cancelled
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (pull_request) Has been cancelled
linux-x64-clang / linux-clang (Debug) (pull_request) Has been cancelled
linux-x64-clang / linux-clang (Release) (pull_request) Has been cancelled
linux-x64-gcc / linux-gcc (Debug) (pull_request) Has been cancelled
linux-x64-gcc / linux-gcc (Release) (pull_request) Has been cancelled
linux-x86-gcc / linux-gcc (Debug) (pull_request) Has been cancelled
linux-x86-gcc / linux-gcc (Release) (pull_request) Has been cancelled
fix miss cmake
2024-09-28 19:11:32 +08:00

85 lines
2.6 KiB
YAML

---
name: linux-arm-gcc
on:
push:
paths:
- .gitea/workflows/linux-arm-gcc.yml
- "cmake/**"
- toolchains/arm-linux-gnueabi.toolchain.cmake
- toolchains/arm-linux-gnueabihf.toolchain.cmake
- third_party/**
- tile/**
- "!tile/fiber/detail/asm/*"
- "tile/fiber/detail/asm/ucontext_arm.*"
- CMakeLists.txt
- cmake/**
pull_request:
paths:
- .gitea/workflows/linux-arm-gcc.yml
- "cmake/**"
- toolchains/arm-linux-gnueabi.toolchain.cmake
- toolchains/arm-linux-gnueabihf.toolchain.cmake
- third_party/**
- tile/**
- "!tile/fiber/detail/asm/*"
- "tile/fiber/detail/asm/ucontext_arm.*"
- CMakeLists.txt
- cmake/**
concurrency:
group: linux-arm-gcc-${{ github.ref }}
cancel-in-progress: true
jobs:
linux-gcc-arm:
runs-on: ubuntu-20.04
strategy:
matrix:
build_type: ["Debug", "Release"]
steps:
- uses: actions/checkout@v4
- name: install-tools
run: |
sudo apt-get update -y
sudo apt-get install -y cmake g++-arm-linux-gnueabi qemu-user-binfmt
- name: configure
run: |
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabi.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_TESTS=ON ..
- name: build
run: |
cd build
cmake --build . -j $(nproc)
- name: test
run: |
cd build
sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib/ld-linux.so.3
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib
ctest --output-on-failure -j $(nproc)
linux-gcc-armhf:
runs-on: ubuntu-20.04
strategy:
matrix:
build_type: ["Debug", "Release"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: arm-gnu-toolchain
run: |
sudo apt-get update -y
sudo apt-get install -y cmake make g++-arm-linux-gnueabihf qemu-user-binfmt
- name: configure
run: |
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabihf.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON ..
- name: build
run: |
cd build
cmake --build . -j $(nproc)
- name: test
run: |-
cd build
sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/
ctest --output-on-failure -j $(nproc)