mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-29 16:31:42 +00:00
17 lines
280 B
Bash
Executable File
17 lines
280 B
Bash
Executable File
#! /bin/bash
|
|
set -ex
|
|
dir=$PWD
|
|
python -V
|
|
gcc -v
|
|
g++ -v
|
|
|
|
for py in python2 python3; do
|
|
cd $dir
|
|
rm -rf build && mkdir build && cd build && cmake ..
|
|
make
|
|
make install
|
|
cd ../bindings/Python && rm -rf build
|
|
$py setup.py install
|
|
cd ../../tests/Python_and_core && $py test.py
|
|
done
|