Commit 4f9fdd3f authored by Valentin Buck's avatar Valentin Buck

Too fast

parent 12f4e60a
Pipeline #8184 passed with stage
in 7 minutes and 8 seconds
......@@ -12,10 +12,10 @@ def process_rust(path, module):
else:
subprocess.Popen(["cargo", "build", "--release"], cwd=cwd).wait()
#subprocess.Popen(["cargo", "build", "--release", "--target", "x86_64-pc-windows-gnu"] , cwd=cwd).wait()
subprocess.Popen(["bash", "-c", 'WINEPATH=~/python64 echo "set RUSTFLAGS=-L Z:/root/python64 && cargo build --release" | WINEPATH=~/python64 wine cmd'])
subprocess.Popen(["ls", "target"], cwd=cwd)
subprocess.Popen(["ls", "target", "release"], cwd=cwd)
subprocess.Popen(["find", "."],cwd=cwd)
subprocess.Popen(["bash", "-c", 'WINEPATH=~/python64 echo "set RUSTFLAGS=-L Z:/root/python64 && cargo build --release" | WINEPATH=~/python64 wine cmd']).wait()
subprocess.Popen(["ls", "target"], cwd=cwd).wait()
subprocess.Popen(["ls", "target", "release"], cwd=cwd).wait()
subprocess.Popen(["find", "."],cwd=cwd).wait()
shutil.copyfile(os.path.join(path,module,"target","release", module + ".dll"),os.path.join(path,module,"target","release", module + ".pyd"))
return [os.path.join(path,module,"target","release", module),os.path.join(path,module,"target" ,"release", module + ".pyd")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment