Commit Graph

185 Commits

Author SHA1 Message Date
Micah Lee
d8af8a39be
Copy tor binaries into the project 2022-05-29 14:28:30 -07:00
Micah Lee
7690ccbff4
Always install cygwin 2022-05-29 14:19:47 -07:00
Micah Lee
87b8cb9c87
Add compiling obfs4proxy, snowflake, and meek 2022-05-29 14:17:16 -07:00
Micah Lee
8e8d772b47
Add zlib-devel dependency 2022-05-29 13:47:42 -07:00
Micah Lee
3d827805d2
Do not enable static libevent (hopefully this tor binary will work on other systems) 2022-05-29 13:12:14 -07:00
Micah Lee
1e9135f0c9
Try installing libevent-devel instead of compiling libevent 2022-05-29 13:04:25 -07:00
Micah Lee
279951d5ef
Build libevent and tor in the same task 2022-05-29 12:49:09 -07:00
Micah Lee
9fc8ee5178
Add a cache version, to invalidate old circleci cache 2022-05-29 12:45:58 -07:00
Micah Lee
7fd623446f
Fix cache key name, and run ./autogen.sh when compiling tor 2022-05-29 12:13:20 -07:00
Micah Lee
304f4cf8dc
Try building tor as well 2022-05-29 12:02:15 -07:00
Micah Lee
75d6f10f30
Don't import signing keys in a separate task, and fix paths in the cygwin task 2022-05-29 11:57:54 -07:00
Micah Lee
8693eb7c2f
Import signing keys in a seprate task 2022-05-29 11:55:59 -07:00
Micah Lee
c8a20bc9c6
Install cygwin in bash too 2022-05-29 11:49:59 -07:00
Micah Lee
c9598a6e6d
Switch to bash 2022-05-29 11:45:34 -07:00
Micah Lee
2eee62c705
Download and install cygwin in separate tasks 2022-05-29 11:34:51 -07:00
Micah Lee
144b01d7e4
Try using gpg2 2022-05-29 11:25:40 -07:00
Micah Lee
02339eeda1
Debug output 2022-05-29 11:18:45 -07:00
Micah Lee
4ea8fd8d23
Try installing cygwin packages separately 2022-05-29 11:12:58 -07:00
Micah Lee
744c79db96
Try installing cygwin and packages separately 2022-05-29 11:05:28 -07:00
Micah Lee
09b45300f1
Skip cygwin install if libevent and tor are compiled 2022-05-29 10:40:36 -07:00
Micah Lee
d1a063238d
Use absolute paths, install gnupg in cygwin, and use cygwin's gpg to verify git tags 2022-05-29 09:42:44 -07:00
Micah Lee
50b770cbc2
Verify cygwin signature 2022-05-29 09:27:10 -07:00
Micah Lee
68b3c1f371
Fix cygwin download 2022-05-28 21:44:26 -07:00
Micah Lee
efa2f51d49
Try building libevent with cygwin 2022-05-28 21:40:52 -07:00
Micah Lee
56a4e6e99f
Import signing keys in a different way 2022-05-27 07:47:10 -07:00
Micah Lee
c7be4b7330
gpg --recv-key just before verifying the tag 2022-05-27 07:37:57 -07:00
Micah Lee
b3928ea2e4
Avoid if elif fi 2022-05-27 07:27:05 -07:00
Micah Lee
fd32fb5cc4
Move tor stuff into build-tor-win64 2022-05-27 07:16:39 -07:00
Micah Lee
cc0ab0ef79
Switch to bash 2022-05-26 20:20:37 -07:00
Micah Lee
1b67e6a6fd
Install perl-Pod-Parser to get pod2man 2022-05-26 19:37:41 -07:00
Micah Lee
3fea3019aa
Try building openssl and libevent 2022-05-26 18:36:54 -07:00
Micah Lee
bfd7e970e0
Comment everything out outside of building libevent 2022-05-26 18:01:37 -07:00
Micah Lee
ad6e7f05be
Update tor to 0.4.7.7, and focus on just build-win64 2022-05-25 21:46:12 -07:00
Micah Lee
17b0b2b318
Make gui tests optional because they keep failing 2022-04-19 22:26:03 -04:00
Micah Lee
fa8c990380
Oops, install correct poetry deps for GUI tests 2022-04-19 22:15:49 -04:00
Micah Lee
45adc8674d
Cache poetry deps when running tests 2022-04-19 22:12:30 -04:00
Micah Lee
f118204cb7
Fix some windows cache paths, and in macOS build copy binaries into app 2022-04-19 22:02:47 -04:00
Micah Lee
e1da7fc702
Cache deps in win64 and win32 2022-04-19 21:42:37 -04:00
Micah Lee
b86de120e6
Try caching win32 tor download 2022-04-19 21:24:23 -04:00
Micah Lee
e1122e8a06
Fix environment 2022-04-19 21:14:04 -04:00
Micah Lee
51133e20fd
De-universal2-ize the macOS circleCI config 2022-04-19 21:12:42 -04:00
Micah Lee
6fa7a22f62
We don't need openssl 2022-04-11 01:16:06 -04:00
Micah Lee
c6c06a34bc
Fix yaml indention 2022-04-10 23:49:29 -04:00
Micah Lee
bf53fbd721
Work on making all macOS binaries universal2 2022-04-10 23:46:40 -04:00
Micah Lee
e184ca5d03
In CI, download Tor from for windows Tor Expert Bundle, and build meek, obfs4proxy, and snowflake ourselves 2022-04-10 19:07:35 -04:00
Micah Lee
301aa19df2
Properly zip up the app bundle 2022-04-05 17:34:04 -07:00
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