Some checks failed
ContinuousDelivery / linux-ubuntu (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousDelivery / windows (windows-2022, ) (push) Has been cancelled
ContinuousDelivery / windows (windows-2022, asan) (push) Has been cancelled
ContinuousDelivery / dumpsyms (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled
ContinuousIntegration / on ubuntu-24.04-arm (push) Has been cancelled
ContinuousIntegration / asan on ubuntu-24.04-arm (push) Has been cancelled
ContinuousIntegration / on ubuntu-latest (push) Has been cancelled
ContinuousIntegration / asan on ubuntu-latest (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled
32 lines
844 B
Docker
32 lines
844 B
Docker
# c-toxcore Clusterfuzzlite build environment
|
|
|
|
# We want to use the latest tools always
|
|
FROM gcr.io/oss-fuzz-base/base-builder:latest
|
|
|
|
RUN apt-get update \
|
|
&& apt-get -y install --no-install-suggests --no-install-recommends \
|
|
cmake \
|
|
ninja-build \
|
|
pkg-config \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
# Static builds of dependencies
|
|
|
|
# libsodium
|
|
RUN tar zxf <(curl -L https://github.com/jedisct1/libsodium/releases/download/1.0.20-RELEASE/libsodium-1.0.20.tar.gz) \
|
|
&& cd libsodium-* \
|
|
&& ./configure --enable-shared=no \
|
|
&& make install \
|
|
&& cd ..
|
|
|
|
# Copy your project's source code.
|
|
COPY . $SRC/c-toxcore
|
|
# Working directory for build.sh.
|
|
WORKDIR $SRC/c-toxcore
|
|
RUN git submodule update --init --recursive
|
|
# Copy build.sh into $SRC dir.
|
|
COPY ./.clusterfuzzlite/build.sh $SRC/
|