mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
use copy instead of link in docker
This commit is contained in:
parent
44e7f0c738
commit
3ce512a519
@ -39,3 +39,6 @@ ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
RUN apt-get install -y python3
|
||||
RUN git config --global --add safe.directory /usr/src/pikascript
|
||||
|
||||
RUN apt-get install -y valgrind
|
||||
|
||||
COPY . /usr/src/pikascript
|
||||
|
@ -2,4 +2,4 @@ DOCKER_NAME=pikadev
|
||||
|
||||
docker rmi $DOCKER_NAME
|
||||
|
||||
docker build -t $DOCKER_NAME .
|
||||
cd .. && docker build -t $DOCKER_NAME docker
|
||||
|
@ -1,5 +1,6 @@
|
||||
sudo apt install cmake -y
|
||||
sudo apt install g++ -y
|
||||
sudo apt install valgrind -y
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
|
||||
git clone https://github.com/google/benchmark.git google_benchmark && cd google_benchmark && cmake -E make_directory "build" && cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../ && cmake --build "build" --config Release && sudo cmake --build "build" --config Release --target install
|
||||
|
@ -1,6 +1,6 @@
|
||||
sh only_make.sh
|
||||
if [ $# == 0 ] ; then
|
||||
valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all --exit-on-first-error=yes build/test/pikascript_test
|
||||
valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all build/test/pikascript_test
|
||||
fi
|
||||
|
||||
if [ $# == 1 ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user