Pedro Pombeiro
0cca662380
Fix builds with local status-go override
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-12-06 11:28:15 +01:00
Pedro Pombeiro
68508a1500
Allow slashes in status-go branch names
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-29 11:00:18 +01:00
Pedro Pombeiro
7e6caf03ad
nix: Use mkFilter in local status-go source
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-26 18:34:46 +01:00
Jakub Sokołowski
b32dd113f6
nix: upgrade nixpkgs
...
Also:
- upgrade Go: 1.12 > 1.13
- upgrade Android SDK: 28.0.3 > 29.0.2
- nix: stop using system Fastlane for iOS builds
- nix: include CocoaPods in shell for iOS
- nix: concatenate shellHooks correctly
- fix gomobile status-go build by setting GO111MODULE=off
- fix gradle accepting empty STATUS_GO_SRC_OVERRIDE value
- don't use a pure shell for uploadToSauceLabs()
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-26 16:30:41 +01:00
Pedro Pombeiro
f7384ae338
Add support for `STATUS_GO_SRC_OVERRIDE` env var
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-13 16:41:21 +01:00
Jakub Sokołowski
05ee65b6fa
don't use SHA1s as status-go version
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-06 21:46:02 +01:00
Jakub Sokołowski
971db3ea2e
include status-go params to set varsion and commit
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-04 21:12:30 +01:00
Pedro Pombeiro
492f2df547
Move version definitions to gradle.properties
...
- Update minSdkVersion to 18
2019-08-15 11:18:38 +02:00
Pedro Pombeiro
f633e168ad
nix: Upgrade to latest gomobile
...
- Makes a couple of patches redundant;
- Allows specifying min Android SDK level
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-02 10:20:52 +02:00
Pedro Pombeiro
f691304b9d
Fix minor issues and typos in Android build process
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-01 19:34:33 +02:00
Jakub Sokołowski
0b1659fab9
nix: use sha1 for status-go output filenameThis fixes issue with branch names containing slashes.Signed-off-by: Jakub Sokołowski <jakub@status.im>
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 09:22:31 -04:00
Pedro Pombeiro
9594552102
nix: Apply some nixfmt suggestions and fix macOS status-go buildInputs
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-29 18:01:07 +02:00
Pedro Pombeiro
4ab64d6c40
nix: Fix go-mobile temp folder location in iOS
2019-07-29 15:06:32 +02:00
Jakub Sokołowski
b9ab37019d
build status-go for Nix cache
...
Also fix scripts/update-status-go.sh to accept commit SHA1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 01:01:41 -04:00
Pedro Pombeiro
67d21c98c1
nix: Use status-go commit sha1 in Nix expression to allow for moving branches
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-20 10:11:34 -04:00
Pedro Pombeiro
f6527f014e
nix: Improve some expressions
2019-07-19 20:59:16 +02:00
Pedro Pombeiro
75d0af862f
nix: Fix non-deterministic gomobile path for iOS
2019-07-19 08:36:49 +02:00
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
Pedro Pombeiro
0ed6ef59ba
nix: Make status-go mobile artifacts reproducible
...
- Replace random build paths in with fixed string
- Remove build ID sections
2019-07-15 16:08:01 +02:00
Pedro Pombeiro
48c7f928cd
Clean up some nix files
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
9b7b5b9608
Ensure a consistent golang version is used throughout Nix
2019-07-05 13:40:30 +02:00
Pedro Pombeiro
c18e2f8a09
Minor fixes in Nix
2019-06-13 15:03:44 +02: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
Pedro Pombeiro
b542c7de26
Minor refactoring of the way dependency packages are iterated for shellHook and buildInputs.
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-13 13:08:28 +02: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
84dc94f895
nix: name the github sources for readability in logs
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-10 11:49:09 +02:00
Pedro Pombeiro
a753be4ab9
Streamline status-go Nix expressions
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-09 14:16:33 +02:00
Pedro Pombeiro
49fbf21f8d
Split status-go Nix package per platform so rebuilds are faster
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-06 14:40:23 +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
Pedro Pombeiro
d453e510a2
Move shellHook to status-go package
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-12 14:02:04 +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
fe80c7841e
Build Android status-go mobile library on macOS
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-10 11:39:48 +02:00
Pedro Pombeiro
65e6e80349
Create Nix package for building status-go
2019-04-09 12:44:39 +02:00