diff options
author | Rayyan Ansari <rayyan@ansari.sh> | 2022-10-27 13:35:12 +0100 |
---|---|---|
committer | Rayyan Ansari <rayyan@ansari.sh> | 2022-10-27 13:42:41 +0100 |
commit | 2b98a423ed2ebe4ccaa5c6229a0583e70c18c12d (patch) | |
tree | 129b63d05fbdae8d8206e45acb1d6dbb34f5758f /scripts | |
parent | 83980e304e3e6f074d361981391a799fdc1a0a6b (diff) |
Add new Windows build scripts and CI with GitHub and MSYS2
Fixes #7097
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/msys2-build | 5 | ||||
-rw-r--r-- | scripts/msys2-install-deps | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/scripts/msys2-build b/scripts/msys2-build new file mode 100644 index 000000000..963c99d4b --- /dev/null +++ b/scripts/msys2-build @@ -0,0 +1,5 @@ +#!/bin/bash
+
+python setup.py build_ext --inplace
+python setup.py bdist_wheel
+pyinstaller -y scripts/borg.exe.spec
diff --git a/scripts/msys2-install-deps b/scripts/msys2-install-deps new file mode 100644 index 000000000..7579a1379 --- /dev/null +++ b/scripts/msys2-install-deps @@ -0,0 +1,4 @@ +#!/bin/bash
+
+pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,zstd,lz4,xxhash,openssl,python,cython,python-setuptools,python-wheel,python-pkgconfig,python-packaging,python-msgpack,python-argon2_cffi,python-pip}
+pip install pyinstaller
|