123456789101112131415161718192021222324252627 |
- FROM --platform=$TARGETPLATFORM btls/fedora:cdev
- COPY . /usr/src
- RUN gcc --version
- RUN clang --version
- RUN cat /etc/os-release
- WORKDIR /usr/src
- RUN rm -rf ./build_gcc; mkdir build_gcc
- RUN rm -rf ./build_clang; mkdir build_clang
- WORKDIR /usr/src/build_gcc
- RUN CC=gcc cmake ..
- RUN make
- RUN make install
- RUN ctest --verbose
- RUN ../cmd/test/test.sh
- WORKDIR /usr/src/build_clang
- RUN CC=clang cmake ..
- RUN make
- RUN make install
- RUN ctest --verbose
- RUN ../cmd/test/test.sh
- WORKDIR /usr/src
|