From 1b42effe023c69ece7b1110a1a7c7a48f99d66b4 Mon Sep 17 00:00:00 2001 From: tqcq Date: Wed, 13 Dec 2023 13:07:36 +0800 Subject: [PATCH] feature disable openwrt support --- .gitea/workflows/build.yaml | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 50d17a3..93a6f69 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,26 +2,26 @@ name: rpcrypto-build on: push: paths: - - '.gitea/workflows/build.yaml' - - 'toolchains/hisiv510.toolchain.cmake' - - 'toolchains/himix200.toolchain.cmake' - - 'toolchains/mipsel-openwrt-linux-musl.toolchain.cmake' - - 'toolchains/mipsel-openwrt-linux.toolchain.cmake' - - 'src/**' - - 'tests/**' - - 'CMakeLists.txt' - - 'cmake/**' + - ".gitea/workflows/build.yaml" + - "toolchains/hisiv510.toolchain.cmake" + - "toolchains/himix200.toolchain.cmake" + # - 'toolchains/mipsel-openwrt-linux-musl.toolchain.cmake' + # - 'toolchains/mipsel-openwrt-linux.toolchain.cmake' + - "src/**" + - "tests/**" + - "CMakeLists.txt" + - "cmake/**" pull_request: paths: - - '.gitea/workflows/build.yaml' - - 'toolchains/hisiv510.toolchain.cmake' - - 'toolchains/himix200.toolchain.cmake' - - 'toolchains/mipsel-openwrt-linux-musl.toolchain.cmake' - - 'toolchains/mipsel-openwrt-linux.toolchain.cmake' - - 'src/**' - - 'tests/**' - - 'CMakeLists.txt' - - 'cmake/**' + - ".gitea/workflows/build.yaml" + - "toolchains/hisiv510.toolchain.cmake" + - "toolchains/himix200.toolchain.cmake" + - "toolchains/mipsel-openwrt-linux-musl.toolchain.cmake" + - "toolchains/mipsel-openwrt-linux.toolchain.cmake" + - "src/**" + - "tests/**" + - "CMakeLists.txt" + - "cmake/**" concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true @@ -63,13 +63,13 @@ jobs: run: | sudo apt-get update -y sudo apt-get install -y libarchive-dev libssl-dev autoconf libtool pkg-config cmake make gcc g++ - ${{ env.build_command }} + ${{ env.build_command }} - name: run_gtest if: matrix.toolchain == 'host.toolchain.cmake' run: | cd ${{ github.workspace }} - cmake --build build --config ${{ matrix.build_type }} --target test + cmake --build build --config ${{ matrix.build_type }} --target test - name: build-host-afl if: matrix.toolchain == 'host-afl.toolchain.cmake' @@ -86,11 +86,11 @@ jobs: uses: addnab/docker-run-action@v3 if: matrix.toolchain != 'host.toolchain.cmake' && matrix.toolchain != 'host-afl.toolchain.cmake' with: - image: tqcq/ubuntu:hisi options: --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }} run: | cd ${{ github.workspace }} sudo apt-get update sudo apt-get install -y libarchive-dev libssl-dev autoconf libtool pkg-config cmake make gcc g++ - ${{ env.build_command }} \ No newline at end of file + ${{ env.build_command }} +