Commit Graph

47 Commits

Author SHA1 Message Date
Pedro Pombeiro 8e6b8b1ff1
Use Android SDK from nixpkgs instead of downloading 2019-04-12 13:57:38 +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 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 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 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 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 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
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
Pedro Pombeiro 50b4ef36b5
Remove reliance on .nvmrc file and enforce node version check
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-31 19:42:22 +01:00
Pedro Pombeiro 881dabc241
Fix issues found when running `make setup` on clean MacOS and Linux machines 2019-01-29 23:18:29 +01:00
Jakub Sokołowski 0ce74b1da9
fix use of toolversion by using absolute GIT_ROOT
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-21 17:07:27 +01:00
Jakub Sokołowski 984404b9e2
change .TOOLVERSION into csv, add toolversion script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-18 22:43:11 +01:00
Pedro Pombeiro 4462ebf78a
Install nvm if no system nodejs is found
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-17 19:12:13 +01:00
Pedro Pombeiro ff98c7cbe0
Lock down tool versions (downgrades if necessary) 2019-01-14 19:49:03 +01:00
Pedro Pombeiro 3437982f70
Lock down yarn version for local repo (currently 1.13.0) 2019-01-14 19:49:00 +01:00
Roman Volosovskyi 771cb5c6a2
Fix outdated docs link 2019-01-07 11:22:09 +02:00
yenda 891447b8b3
update realm to 2.20.1 and node to 10.14.0
- add node version 10.14.1 via nvm wrapper for CI

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2018-11-30 15:46:58 +01:00
Pedro Pombeiro d4ca0851d7
Fix check for yarn
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-30 11:20:33 +01:00
Igor Mandrigin 37ef82b04d
Use `yarn` instead of `npm` for package management. Lock dependencies.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-29 16:29:57 +01:00
Pedro Pombeiro 57ef0b2ba3
Avoid unnecessary downloads of Android NDK after running `make clean` 2018-11-26 23:03:35 +01:00
Pedro Pombeiro 8d2818017c
Only disable gradle daemon on CI, and install recommended npm version 2018-11-26 23:03:30 +01:00
Pedro Pombeiro a31d10f6dc
Add support for generating Windows install program instead of zip file. Part of #6304
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-20 15:11:24 +01:00
Andy Tudhope 43357e1708
Update links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-16 10:17:51 +01:00
Pedro Pombeiro 17a8d3a9c9
Unify desktop builds. Closes #5406
- Replace Linux and MacOS scripts in `ci/desktop.groovy` with calls to `scripts/create-desktop-package.sh`
- Replace use of `deployment/env` with `.env` to avoid confusion and be coherent with mobile platforms

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-26 16:45:48 +02:00
Igor Mandrigin 710c10faa4
Fix `make setup` on macOS.
Before, it always downloaded linux NDK no matter which platform you are
using. This way, `make setup` was actually able to break Android build
on macOS.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-13 13:00:01 +02:00
Pedro Pombeiro b7b6a252e1
Simplify setup script and fix Android build when setting up from scratch
- gradle was being called without `npm install` having had a chance to execute

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-03 10:00:37 +02:00
Pedro Pombeiro 96b8edc846
setup: Run gradlew task even if NDK was just installed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-08-30 10:27:10 +02:00
Aleksandr Pantiukhov 1af763fece
Buildscript fix: we used a wrong comment indicator before
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-08-21 14:45:12 +02:00
Aleksandr Pantiukhov 4a1c8e11a3
`setup` script updates: wget installation; updated Android SDK installer
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 15:13:32 +02:00
Pedro Pombeiro 2a6bb4cb8f
Set JVM heap size in gradle.properties so that dex can run in-process
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-07-12 19:02:01 +02:00
Pedro Pombeiro 0051b7cb9a
Install Android NDK and gradle archives during setup.
Fixes broken `make release-android` step on new machines.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-07-11 18:33:34 +02:00
Aleksandr Pantiukhov 2b6ee450ae
[#4901]: Fix npm version issue
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-07-03 14:14:51 +02:00
E.Azer Koçulu d0dff14ea6
Creates umbrella commands for all Linux packages and adds support for Arch Linux' package manager pacman
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-09 17:41:36 +03:00
Oleh Krehel 534773b86a
scripts/lib/setup/output.sh: Fix broken link to react-native docs
DevelopmentSetupAndroid.md was removed from react-native docs around 2
years ago.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:01:28 +08:00
Julien Eluard b0a1aab033 Make sure setup script runs on linux 2017-12-21 10:34:02 +01:00
Julien Eluard 518f68f08f Added build scripts 2017-12-12 09:05:18 +01:00
David Balatero 2bd7652b5c Install all dependencies on Linux 2017-12-08 18:26:01 +01:00
David Balatero db1efe51f8 Added developer setup script for smoother setup
Moved run-osx.sh to scripts/ subdirectory
2017-11-30 01:24:06 -08:00