Pedro Pombeiro
a7fd659d84
nix: Wrap gradle, npm packages, `lein prod-build` and `gradle assembleRelease` in Nix expressions to improve reproducible builds with constant build paths
2019-07-15 16:08:02 +02:00
tbenr
b78bb456a4
add coverage test
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-10 16:15:44 -04:00
Pedro Pombeiro
977f1cd936
Remove RN patch
2019-07-05 13:40:31 +02:00
Pedro Pombeiro
8d8ef4d263
Only bring in Android dependencies in gomobile if targetting Android
2019-07-05 13:40:31 +02:00
Pedro Pombeiro
c18e2f8a09
Minor fixes in Nix
2019-06-13 15:03:44 +02:00
Pedro Pombeiro
1457f0f017
Some changes from the node2nix test branch that don't need to be there
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-06 19:13:31 +02:00
Pedro Pombeiro
ab11a67c96
Move files that don't change per platform to the root
2019-06-06 16:56:24 +02:00
Roman Volosovskyi
c7c7b50281
RAM bundle basic setup
2019-05-27 17:34:17 +03:00
Pedro Pombeiro
373291bfc0
nix: Avoid bad practice of inheriting pkgs
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-21 12:15:56 +02:00
Jakub Sokołowski
0e8e5a51ba
refactor nix_sh to give it optional Map arguments
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 16:06:16 +02:00
Pedro Pombeiro
90d517adf6
nix: Add add-gcroots target to Makefile to avoid garbage collection
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-13 11:33:00 +02:00
Roman Volosovskyi
ff39426e56
[android] send logs to error-reports@status.im
2019-05-10 17:02:58 +03:00
Pedro Pombeiro
4041a12612
Print a friendlier message when Xcode/iPhone SDK are not installed
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-10 15:07:52 +02:00
Pedro Pombeiro
93efc0cd05
Run prepare-for-desktop.sh in an impure shell
2019-05-10 11:48:32 +02:00
Pedro Pombeiro
fca01891ba
Improvements for a pure macOS Nix environment
2019-05-10 11:48:31 +02:00
yenda
625ff669f7
remove unnecessary check in update-status-go script
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-09 18:34:52 +02:00
Pedro Pombeiro
69b9847c5f
Don't ever try to install Nix on NixOS
2019-05-09 14:14:58 +02:00
Pedro Pombeiro
b575f5f6a5
Create androidenv package with accepted license so build can run with --pure
2019-05-06 11:56:51 +02:00
Pedro Pombeiro
f329ca9bdf
Add comments to STATUS_GO_VERSION to avoid manual editing
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-02 21:44:15 +02:00
Igor Mandrigin
d905aa7fa4
request to squash commits if the PR has multiple
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-16 11:52:40 +02:00
Pedro Pombeiro
a436793fa0
Consolidate TARGET_SYSTEM_NAME and TARGET_PLATFORM with TARGET_OS
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-15 20:31:38 +01:00
Pedro Pombeiro
8e6b8b1ff1
Use Android SDK from nixpkgs instead of downloading
2019-04-12 13:57:38 +02:00
Pedro Pombeiro
aeacbd928e
Separate logic into shell.nix and derivation.nix to fix `nix build` command
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 17:44:29 +02:00
Pedro Pombeiro
7be77fffb0
Do not change user's profile with Nix installation
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 14:59:33 +02:00
Pedro Pombeiro
cf6cbd7fa8
Replace usage of `make setup`
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-10 11:45:29 +02:00
Pedro Pombeiro
3230f00c6c
Make nix-shell implicit and add `desktop-server` target
...
- The makefile now defines environment variables for the Desktop debug environment that allows running side by side with release
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-09 16:04:16 +02:00
Pedro Pombeiro
ea837ff353
Remove usages of `nix show-derivation` in build-desktop.sh for purity
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-09 14:13:14 +02:00
Pedro Pombeiro
65e6e80349
Create Nix package for building status-go
2019-04-09 12:44:39 +02:00
Roman Volosovskyi
24a978d442
Migrate to RN 0.59.2
2019-04-01 17:42:57 +03:00
Pedro Pombeiro
6eb806d2c1
Replace usage of stdenvNoCC.
...
- For Linux, the real fix is `hardeningDisable` of "fortify";
- For macOS, the real fix is setting the C and CXX compilers in `desktop/build.sh` as well as disabling CMake install step;
- Unfortunately for iOS we still need stdenvNoCC (or find a way to use GNU's ld instead of Apple's)
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-27 14:03:48 +01:00
Pedro Pombeiro
e8f762ec6f
Fix missing directory in prepare-for-platform.sh
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-27 08:58:21 +01:00
Pedro Pombeiro
5553486d31
Fix base image path import in Windows setup
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-26 13:29:16 +01:00
Pedro Pombeiro
119373ea33
Replace `make prepare-*` targets with implicit behavior
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-26 12:44:07 +01:00
Pedro Pombeiro
c53553e137
Use nix to download Desktop bundle base images
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-22 15:06:14 +01:00
Pedro Pombeiro
fc5c8c2dc0
Add Dockerfile to generate image used in Jenkins
2019-03-22 15:05:27 +01:00
Pedro Pombeiro
f0cd54e65e
Fix missing artifacts in Windows build
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-03-22 14:30:52 +01:00
Pedro Pombeiro
3b9123d482
Add ruby and bundler Nix packages for CI to fix android-e2e CI job
2019-03-21 13:57:03 +01:00
Pedro Pombeiro
214131a5b3
Discard temporary changes to package.json in build-desktop.sh after compiling
2019-03-21 13:57:03 +01:00
Pedro Pombeiro
9ac7ceb779
Revert last commit and patch linuxdeployqt so that it doesn't require massaging of files
...
- After decision to not support Ubuntu 16.04, we can drop the code that copied all the dependency tree
2019-03-21 13:57:02 +01:00
Pedro Pombeiro
d37f702b6e
unfinished: Bundle all Linux dependencies so that app can run on all distros
2019-03-21 13:57:02 +01:00
Pedro Pombeiro
4569e2283c
Remove build Dockerfiles and NVM script
2019-03-21 13:57:02 +01:00
Pedro Pombeiro
5440378bbc
Migrate remaining CI builds to Nix
2019-03-21 13:57:01 +01:00
Pedro Pombeiro
015f02ae84
Implement target-dependent installing of Nix dependencies
2019-03-21 13:57:01 +01:00
Jakub Sokołowski
9f601e851d
add jenkinsfile
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 13:57:00 +01:00
Pedro Pombeiro
3af25381e1
Change shebang in bash scripts
2019-03-21 13:57:00 +01:00
Pedro Pombeiro
87a7aacd68
Add Android NDK Nix expression
2019-03-21 13:56:59 +01:00
Pedro Pombeiro
2ac5ee019e
Migrate Desktop build environment to leverage Nix
...
- Add Conan to default.nix
- Integrate Qt5 Nix package (with forked repo for new QtWebView module)
- Fix rpaths in macOS and Linux
- Add Nix expressions to install nsis, appimagekit and linuxdeployqt
2019-03-21 13:56:58 +01:00
Pedro Pombeiro
2e7891406b
Fix problem building `sha3` node module in `make setup`
2019-03-21 13:56:57 +01:00
Pedro Pombeiro
692de32931
Migrate from installing tooling the traditional way to Nix
2019-03-21 13:56:57 +01:00
yenda
496f3f1cc7
[design] use Inter font on Android
...
- implement typography component
- replace InterUI font by Inter font (renaming)
Signed-off-by: yenda <eric@status.im>
2019-03-20 18:42:31 +01:00