ulib/.gitea/workflows/linux-x64-gcc.yml
tqcq 91e96b17b2
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 52s
linux-x64-gcc / linux-gcc (push) Failing after 56s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 57s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m18s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m17s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m15s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m25s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m23s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m29s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m3s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m21s
feature add Mutex,ConditionVariable,Event,MutexGuard
2023-12-13 12:56:40 +08:00

55 lines
1.3 KiB
YAML

name: linux-x64-gcc
on:
push:
paths:
- ".gitea/workflows/linux-x64-gcc.yml"
- "src/**"
- "tests/**"
- "CMakeLists.txt"
- "cmake/**"
pull_request:
paths:
- ".gitea/workflows/linux-x64-gcc.yml"
- "src/**"
- "tests/**"
- "CMakeLists.txt"
- "cmake/**"
concurrency:
group: linux-x64-gcc-${{ github.ref }}
cancel-in-progress: true
permissions:
- read
jobs:
linux-gcc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: update
run: sudo apt-get update
- name: configure
run: |
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DULIB_BUILD_TESTS=ON
- name: build
run: |
cmake --build build -j `nproc`
- name: test
run: |
cd build && ctest --output-on-failure -j `nproc`
- name: configure-shared
run: |
mkdir build-shared && cd build-shared
cmake .. -DCMAKE_BUILD_TYPE=Release -DULIB_BUILD_TESTS=ON -DULIB_SHARED_LIB=ON
- name: build-shared
run: |
cmake --build build-shared -j `nproc`
- name: test-shared
run: |
cd build-shared && ctest --output-on-failure -j `nproc`