fix apt-get use sudo
Some checks failed
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Waiting to run
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m22s
rpcrypto-build / build (Debug, hisiv500.toolchain.cmake) (push) Successful in 1m15s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m21s
rpcrypto-build / build (Debug, mips64el-linux-gnuabi64.toolchain.cmake) (push) Successful in 1m23s
rpcrypto-build / build (Debug, host-afl.toolchain.cmake) (push) Successful in 2m49s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Successful in 1m26s
rpcrypto-build / build (Debug, host.toolchain.cmake) (push) Successful in 3m12s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Successful in 1m21s
rpcrypto-build / build (Release, hisiv500.toolchain.cmake) (push) Successful in 1m8s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m24s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m24s
rpcrypto-build / build (Release, host-afl.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Release, host.toolchain.cmake) (push) Has been cancelled
rpcrypto-build / build (Release, mips64el-linux-gnuabi64.toolchain.cmake) (push) Has been cancelled

This commit is contained in:
tqcq 2023-12-05 14:43:11 +08:00
parent 73f3bd686e
commit e1a78e8536

View File

@ -56,8 +56,8 @@ jobs:
- name: build-afl
if: matrix.toolchain == 'host-afl.toolchain.cmake'
run: |
apt-get update -y
apt-get install -y libarchive-dev libssl-dev autoconf libtool pkg-config afl++ cmake make gcc g++
sudo apt-get update -y
sudo apt-get install -y libarchive-dev libssl-dev autoconf libtool pkg-config afl++ cmake make gcc g++
export AFL_LLVM_LAF_ALL=1
export CC=/usr/bin/afl-clang-fast
export CXX=/usr/bin/afl-clang-fast++