mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-26 11:13:00 -03:00
Try CircleCI Windows orb
This commit is contained in:
parent
9c61c46ea8
commit
8fefa4d6b3
1 changed files with 23 additions and 2 deletions
|
@ -1,10 +1,21 @@
|
||||||
version: 2
|
version: 2.1
|
||||||
|
|
||||||
|
orbs:
|
||||||
|
win: circleci/windows@4.0.0
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
test:
|
test:
|
||||||
jobs:
|
jobs:
|
||||||
- test-cli
|
- test-cli
|
||||||
- test-gui
|
- test-gui
|
||||||
|
build:
|
||||||
|
jobs:
|
||||||
|
- build-win32
|
||||||
|
requires:
|
||||||
|
- test-cli
|
||||||
|
- test-gui
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-cli:
|
test-cli:
|
||||||
|
@ -34,7 +45,7 @@ jobs:
|
||||||
poetry run onionshare-cli --local-only --receive --auto-stop-timer 2
|
poetry run onionshare-cli --local-only --receive --auto-stop-timer 2
|
||||||
poetry run onionshare-cli --local-only --website ../docs --auto-stop-timer 2
|
poetry run onionshare-cli --local-only --website ../docs --auto-stop-timer 2
|
||||||
poetry run onionshare-cli --local-only --chat --auto-stop-timer 2
|
poetry run onionshare-cli --local-only --chat --auto-stop-timer 2
|
||||||
|
|
||||||
test-gui:
|
test-gui:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/python:3.9
|
- image: cimg/python:3.9
|
||||||
|
@ -58,3 +69,13 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
cd ~/repo/desktop
|
cd ~/repo/desktop
|
||||||
QT_DEBUG_PLUGINS=1 xvfb-run poetry run pytest -v ./tests/test_gui_*.py
|
QT_DEBUG_PLUGINS=1 xvfb-run poetry run pytest -v ./tests/test_gui_*.py
|
||||||
|
|
||||||
|
build-win32:
|
||||||
|
executor:
|
||||||
|
name: win/default
|
||||||
|
shell: powershell.exe
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: systeminfo
|
||||||
|
- run: Write-Host 'Hello, Windows'
|
||||||
|
|
Loading…
Add table
Reference in a new issue