ulib/.gitea/workflows/linux-x64-gcc.yml
tqcq 2037764f67
All checks were successful
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m19s
rpcrypto-build / build (Debug, hisiv500.toolchain.cmake) (push) Successful in 1m21s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m27s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Successful in 1m11s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m10s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Successful in 1m24s
rpcrypto-build / build (Debug, host-afl.toolchain.cmake) (push) Successful in 3m13s
rpcrypto-build / build (Release, hisiv500.toolchain.cmake) (push) Successful in 1m9s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m12s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Successful in 1m10s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Successful in 1m23s
linux-x64-gcc / linux-gcc (push) Successful in 46s
rpcrypto-build / build (Release, host-afl.toolchain.cmake) (push) Successful in 3m10s
feature fix linux-x64-gcc
2023-12-05 16:44:08 +08:00

53 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`