feature disable openwrt support
Some checks failed
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Has been cancelled

This commit is contained in:
tqcq 2023-12-13 13:07:36 +08:00
parent 17b216911d
commit 1b42effe02

View File

@ -2,26 +2,26 @@ name: rpcrypto-build
on: on:
push: push:
paths: paths:
- '.gitea/workflows/build.yaml' - ".gitea/workflows/build.yaml"
- 'toolchains/hisiv510.toolchain.cmake' - "toolchains/hisiv510.toolchain.cmake"
- 'toolchains/himix200.toolchain.cmake' - "toolchains/himix200.toolchain.cmake"
- 'toolchains/mipsel-openwrt-linux-musl.toolchain.cmake' # - 'toolchains/mipsel-openwrt-linux-musl.toolchain.cmake'
- 'toolchains/mipsel-openwrt-linux.toolchain.cmake' # - 'toolchains/mipsel-openwrt-linux.toolchain.cmake'
- 'src/**' - "src/**"
- 'tests/**' - "tests/**"
- 'CMakeLists.txt' - "CMakeLists.txt"
- 'cmake/**' - "cmake/**"
pull_request: pull_request:
paths: paths:
- '.gitea/workflows/build.yaml' - ".gitea/workflows/build.yaml"
- 'toolchains/hisiv510.toolchain.cmake' - "toolchains/hisiv510.toolchain.cmake"
- 'toolchains/himix200.toolchain.cmake' - "toolchains/himix200.toolchain.cmake"
- 'toolchains/mipsel-openwrt-linux-musl.toolchain.cmake' - "toolchains/mipsel-openwrt-linux-musl.toolchain.cmake"
- 'toolchains/mipsel-openwrt-linux.toolchain.cmake' - "toolchains/mipsel-openwrt-linux.toolchain.cmake"
- 'src/**' - "src/**"
- 'tests/**' - "tests/**"
- 'CMakeLists.txt' - "CMakeLists.txt"
- 'cmake/**' - "cmake/**"
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true cancel-in-progress: true
@ -63,13 +63,13 @@ jobs:
run: | run: |
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y libarchive-dev libssl-dev autoconf libtool pkg-config cmake make gcc g++ 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 - name: run_gtest
if: matrix.toolchain == 'host.toolchain.cmake' if: matrix.toolchain == 'host.toolchain.cmake'
run: | run: |
cd ${{ github.workspace }} 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 - name: build-host-afl
if: matrix.toolchain == 'host-afl.toolchain.cmake' if: matrix.toolchain == 'host-afl.toolchain.cmake'
@ -86,11 +86,11 @@ jobs:
uses: addnab/docker-run-action@v3 uses: addnab/docker-run-action@v3
if: matrix.toolchain != 'host.toolchain.cmake' && matrix.toolchain != 'host-afl.toolchain.cmake' if: matrix.toolchain != 'host.toolchain.cmake' && matrix.toolchain != 'host-afl.toolchain.cmake'
with: with:
image: tqcq/ubuntu:hisi image: tqcq/ubuntu:hisi
options: --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }} options: --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }}
run: | run: |
cd ${{ github.workspace }} cd ${{ github.workspace }}
sudo apt-get update sudo apt-get update
sudo apt-get install -y libarchive-dev libssl-dev autoconf libtool pkg-config cmake make gcc g++ sudo apt-get install -y libarchive-dev libssl-dev autoconf libtool pkg-config cmake make gcc g++
${{ env.build_command }} ${{ env.build_command }}