From 8885f23b0f8ac207891c79ce97b149f0190493b5 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 29 Mar 2022 21:02:03 -0700 Subject: [PATCH] Try CircleCI Windows orb --- .circleci/config.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b03c22f7..63bf394c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,10 +1,21 @@ -version: 2 +version: 2.1 + +orbs: + win: circleci/windows@4.0.0 + workflows: version: 2 test: jobs: - test-cli - test-gui + build: + jobs: + - build-win32 + requires: + - test-cli + - test-gui + jobs: test-cli: @@ -34,7 +45,7 @@ jobs: 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 --chat --auto-stop-timer 2 - + test-gui: docker: - image: cimg/python:3.9 @@ -58,3 +69,13 @@ jobs: command: | cd ~/repo/desktop 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'