Commit Graph

139 Commits

Author SHA1 Message Date
Micah Lee
c23a7856eb
Try the python3 choco project instead of python, to see if it fixes the win64 build 2022-04-04 20:45:08 -07:00
Micah Lee
3d81c890bc
Fix macos build bug 2022-04-04 20:41:24 -07:00
Micah Lee
8a450c7db7
Give up on snapcraft 2022-04-03 21:22:13 -07:00
Micah Lee
af19ad405b
bash function syntax 2022-04-03 21:11:47 -07:00
Micah Lee
8076c64b5e
Install even more snaps 2022-04-03 21:06:48 -07:00
Micah Lee
8d810f87c0
Try installing go and gnome-3-34-1804-sdk without snapd 2022-04-03 20:59:33 -07:00
Micah Lee
cc11737a75
Install one snap at a time 2022-04-03 20:29:55 -07:00
Micah Lee
61db951789
Try install extra snaps first 2022-04-03 20:26:16 -07:00
Micah Lee
eec2f7727b
Try stable snapcore/snapcraft container 2022-04-03 20:22:08 -07:00
Micah Lee
fc75458453
Build exe.macos as well as the app bundle, and upload them both 2022-04-03 20:21:14 -07:00
Micah Lee
49471a835a
Fix macOS cleanup script 2022-04-03 17:35:41 -07:00
Micah Lee
9b28a9393a
Move windows and mac build scripts into scripts folder 2022-04-03 17:20:31 -07:00
Micah Lee
28655d28c8
Make CircleCI use the new get-tor.py 2022-04-03 11:20:57 -07:00
Micah Lee
ee9a5269bb
Oops, change to correct folder for snapcraft 2022-03-31 21:15:48 -07:00
Micah Lee
fa5d5b7cdd
Use docker for snapcraft 2022-03-31 21:04:08 -07:00
Micah Lee
d54b51e7b1
Install snapcraft before building the snap, and fix some macos cleanup 2022-03-31 19:57:47 -07:00
Micah Lee
4e5ad4d0ca
Work on macOS build 2022-03-31 19:35:26 -07:00
Micah Lee
f4a50b573d
For snapcraft, switch from docker to machine 2022-03-31 18:59:38 -07:00
Micah Lee
fd052e6f1c
Fix compressing Windows builds, add skeleton for making macOS build, and start snapcraft build 2022-03-31 18:54:32 -07:00
Micah Lee
f9b79d667f
Don't install 7zip with choco because it's already in the CircleCI windows orb, and zip contents of build folder instead of build folder itself 2022-03-31 18:40:36 -07:00
Micah Lee
4297a5a6dc
Create new windows.py script that combines various Windows build tasks, and update CI to use it 2022-03-31 18:34:41 -07:00
Micah Lee
aff969ee09
Run setup-freeze.py directly instead of using build-windows.py, and fix go path in build meek script 2022-03-30 16:09:31 -07:00
Micah Lee
e77cd6939e
Try fixing installing 32-bit go, and try fixing 32-bit paths in scripts 2022-03-30 15:52:31 -07:00
Micah Lee
1d9ce020e5
In 32-bit build, use 32-bit python 2022-03-30 14:30:49 -07:00
Micah Lee
27dc8082ec
Actually try installing 32-bit golang and poetry 2022-03-30 13:56:18 -07:00
Micah Lee
defcd6ed2c
Try installing 32-bit golang and poetry 2022-03-30 13:49:45 -07:00
Micah Lee
638d35a465
Try installing 32-bit python and implementing build-win32 2022-03-30 12:50:28 -07:00
Micah Lee
dcfb9640cf
Comment out deleting files, to see if this makes binary run 2022-03-30 12:26:00 -07:00
Micah Lee
8d14f53a67
Make build-windows.py not use special characters, and make it detect 32-bit or 64-bit python 2022-03-30 08:55:04 -07:00
Micah Lee
c5e73076a4
Add --ci-build to Windows build script, and do more to make the build in CircleCI 2022-03-30 08:29:16 -07:00
Micah Lee
724e48053c
Try installing some dependencies with chocolatey 2022-03-29 21:59:39 -07:00
Micah Lee
631aff7cce
Don't require gui tests because they crash 2022-03-29 21:11:46 -07:00
Micah Lee
499923f4af
Only try building after tests pass 2022-03-29 21:05:23 -07:00
Micah Lee
ed04214ae6
Fix YAML 2022-03-29 21:04:39 -07:00
Micah Lee
8fefa4d6b3
Try CircleCI Windows orb 2022-03-29 21:02:03 -07:00
Micah Lee
ad13c2d920
Actually switch to next gen CircleCI container images 2022-03-28 20:22:14 -07:00
Micah Lee
834fbc8f6c
Switch to next gen CircleCI image 2022-03-28 20:20:23 -07:00
Micah Lee
8a8901fe7e
Set env variable a different way 2022-03-28 20:13:14 -07:00
Micah Lee
582b69e48a
Turn on qt debugging in CircleCI 2022-03-28 20:06:07 -07:00
Micah Lee
06eb12cf8f
Try running tests a different way 2022-03-06 14:17:13 -08:00
Saptak S
4f1e33fecc
Try bullseye image instead of buster 2021-12-30 13:19:53 +05:30
Saptak S
c5761953bc
Use xvfb to run the GUI tests 2021-12-26 21:22:30 +05:30
Saptak S
f6f4af06ce
Updates python image to 3.9 in circleci to match pyproject requirement 2021-12-26 17:28:18 +05:30
Micah Lee
1d53712544
Continue switching from briefcase to poetry 2021-12-19 17:33:11 -08:00
Miguel Jacq
f5e4d70731
Remove unnecessary censorship class invocation, which breaks CLI mode right now.
Fix Website and Chat modes with auto-stop timer in CLI mode.

Add 'poetry run onionshare-cli' tests to CircleCI to catch CLI runtime bugs.
2021-11-12 11:43:09 +11:00
Kushal Das
8081daa276
Removes extra comments from CI config 2021-09-03 21:05:47 +05:30
Micah Lee
a801f0a628
Install new dependencies so CircleCI tests run, and fix a pytest warning 2020-11-01 11:50:11 -08:00
Micah Lee
208d615ad0
Add desktop documentation about building CLI wheel, and make CircleCI tests build CLI wheel first as well 2020-11-01 10:13:58 -08:00
Micah Lee
6bc085922b
Fix yaml spacing 2020-10-14 20:44:21 -07:00
Micah Lee
33d522d0da
Change CircleCI to run CLI tests, then GUI tests 2020-10-14 20:42:20 -07:00
Micah Lee
40b43b66ab
Fix common.get_tor_paths test 2020-04-06 21:19:17 -07:00
Saptak S
d417754e45
Adds bash script to run GUI tests individually 2020-04-02 04:19:50 +05:30
Micah Lee
785512218d
Test python 3.6 as well 2020-03-22 17:10:15 -07:00
Micah Lee
34e59ad7d7
Update comments and section names in CircleCI 2020-03-22 16:33:32 -07:00
Micah Lee
ea4fbdd834
Fix installing Qt binaries 2020-03-22 16:28:59 -07:00
Micah Lee
bf06bb1081
Try installing binaries instead of building from source 2020-03-22 16:01:23 -07:00
Micah Lee
db9abb789d
Build Qt from source in circleci 2020-03-22 15:32:25 -07:00
Micah Lee
360458372f
Test with python 3.7 and 3.8, no longer 3.6 2020-03-22 12:35:26 -07:00
Micah Lee
3c6e0cbda1
Change python version to ^3.7, and use PyQt 5.14 instead of the very latest. Run tests from poetry 2020-03-22 12:33:35 -07:00
Micah Lee
5c4e4ce10b
Try using buster docker images 2020-03-22 11:45:37 -07:00
Micah Lee
3b79a9ba2e
Add python3-pytest and python3-pytestqt to circleci 2020-03-22 11:35:33 -07:00
Micah Lee
579c87c379
No longer install packages from requirements.txt 2020-03-22 11:32:18 -07:00
Micah Lee
b9a7361d9c
Replace .format with python 3.6 f-strings in onionshare module 2019-10-20 10:15:16 -07:00
Micah Lee
44431becc1
Give xvfb-run a screen to floods of Qt logs in CircleCI tests, so the test output is readable 2019-05-22 20:46:23 -07:00
Micah Lee
9f3fa51fc5
Reorder args when running tests in CircleCI 2019-01-18 14:37:18 -08:00
Micah Lee
769f256b53
Make CircleCI run GUI tests 2019-01-15 21:54:39 -08:00
Miguel Jacq
b1245dbba0
Run tests on multiple python versions in CircleCI 2018-11-26 08:20:05 +11:00
Miguel Jacq
95ece1aac0
back to installing main requirements.txt 2018-10-18 17:38:15 +11:00
Miguel Jacq
e0da92cc82
more sudo 2018-10-18 17:36:12 +11:00
Miguel Jacq
d50adaa52c
Back to sudo 2018-10-18 17:35:30 +11:00
Miguel Jacq
7f06b7d267
Back to python container 2018-10-18 17:34:34 +11:00
Miguel Jacq
5485b89761
Add the other python dependencies from the BUILD.md 2018-10-18 17:17:57 +11:00
Miguel Jacq
ceb665972b
Other dependencies 2018-10-18 17:15:00 +11:00
Miguel Jacq
638651ceec
don't install main requirements.txt 2018-10-18 17:11:39 +11:00
Miguel Jacq
0c328b8c55
xvfb should be installed 2018-10-18 17:01:33 +11:00
Miguel Jacq
5972665fc3
avoid prompt 2018-10-18 17:00:46 +11:00
Miguel Jacq
eb63a045f3
see if we can avoid sudo 2018-10-18 16:59:49 +11:00
Miguel Jacq
d5881286be
buster is a tag 2018-10-18 16:57:59 +11:00
Miguel Jacq
72e684c166
try and build off buster 2018-10-18 16:57:05 +11:00
Miguel Jacq
cfbfc4a666
Revert "The only other version difference I can find is PyQt itself"
This reverts commit f608b79aaf.
2018-10-17 17:51:45 +11:00
Miguel Jacq
f608b79aaf
The only other version difference I can find is PyQt itself 2018-10-17 17:50:16 +11:00
Miguel Jacq
3538e9d19e
run on same version of python as me 2018-10-17 17:28:13 +11:00
Miguel Jacq
bc85d1a9af
remove branch specific config 2018-10-17 17:15:34 +11:00
Miguel Jacq
0d48d2a354
sudo 2018-10-17 17:15:13 +11:00
Miguel Jacq
68bff3fd50
circleci tweaks 2018-10-17 17:04:24 +11:00
Miguel Jacq
67d75826ae
circleci tweaks 2018-10-17 16:59:13 +11:00
Miguel Jacq
d40351e0af
circleci tweaks 2018-10-17 16:58:05 +11:00
Miguel Jacq
ce5d978a8f
try to get circleci to build just this branch for now 2018-10-17 16:55:15 +11:00
Miguel Jacq
7820c13a42
Add initial .circleci config 2018-10-17 16:51:49 +11:00