Merge pull request #7427 from RayyanAnsari/windows-build-simplify

Windows: simplify building
This commit is contained in:
TW 2023-03-10 19:46:59 +01:00 committed by GitHub
commit a0e0d5ea74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -22,7 +22,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: ./scripts/msys2-install-deps development run: ./scripts/msys2-install-deps development
- name: Build - name: Build
run: ./scripts/msys2-build run: |
pip install -e .
pyinstaller -y scripts/borg.exe.spec
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: borg-windows name: borg-windows
@ -30,5 +32,4 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
./dist/borg.exe -V ./dist/borg.exe -V
pip install -e .
pytest --benchmark-skip -vv -rs -k "not remote" pytest --benchmark-skip -vv -rs -k "not remote"

View File

@ -1,5 +0,0 @@
#!/bin/bash
python setup.py build_ext --inplace
python setup.py bdist_wheel
pyinstaller -y scripts/borg.exe.spec