SomberNight
54e22105b8
CI: cache more in Windows build
2 years ago
SomberNight
98d29cba56
wine build: build win-iconv-mingw-w64-dev, instead of using debian sid
This commit reintroduces b8240bec3e
, which was previously reverted
due to making the build non-reproducible.
I have found building with "make -j1" seems to work.
see https://github.com/win-iconv/win-iconv/issues/42
closes https://github.com/spesmilo/electrum/issues/7994
related https://github.com/spesmilo/electrum/pull/7992
2 years ago
SomberNight
846c073ee8
Revert "wine build: build win-iconv-mingw-w64-dev, instead of using debian sid"
This reverts commit b8240bec3e
.
Looks like the win-iconv build is not deterministic...
Reverting this for now, will have to debug later.
2 years ago
SomberNight
b8240bec3e
wine build: build win-iconv-mingw-w64-dev, instead of using debian sid
without this, when using a ~week old debian sid snapshot, I got:
```
E: Release file for https://snapshot.debian.org/archive/debian/20220811T031049Z/dists/sid/InRelease is expired (invalid since 1d 11h 56min 39s). Updates for this repository will not be applied.
```
2 years ago
SomberNight
0df8392c86
build: rm need for sudo in most places; and do not run as root
This includes two logically separate changes:
- on the host, try not to require sudo when running the build scripts
- namely when interacting with the docker daemon, this requires
the unix user on the host to be part of the `docker` group
- this solves part of https://github.com/spesmilo/electrum/issues/7602
- while running inside the docker containers, do not run as root
- this means that e.g. files created in mounted folders should
no longer be owned by root on the host
- there is some code duplication involved here - not sure
how it could be deduped.
3 years ago
SomberNight
5b627208f1
mac build: build libusb from source
fixes https://github.com/spesmilo/electrum/issues/7393
4 years ago
SomberNight
3df1c3bbf7
build: rename some scripts
also, merge sdist/build.sh and sdist/make_tgz into sdist/make_sdist.sh
4 years ago
SomberNight
41233a4bc7
windows build: minor clean-up
4 years ago
SomberNight
dded25f398
windows build: cache pip downloads
4 years ago
SomberNight
f1f584c4c4
windows build: separate 32/64 bit build caches
specify which architecture to target by setting WIN_ARCH env var
4 years ago
SomberNight
5337331fa0
windows build: some refactor to make building 64 bit binaries easier
related: #6598
4 years ago
ghost43
fc89c8ffa9
win binary: build zbar ourselves ( #6593 )
This allows bundling much newer zbar that includes many fixes.
related: #6018
This is largely based on
https://github.com/Electron-Cash/Electron-Cash/pull/1362
https://github.com/Electron-Cash/Electron-Cash/pull/1363
https://github.com/Electron-Cash/Electron-Cash/pull/1365
eda015908e
4 years ago
SomberNight
4cec098d2d
build: create a standalone build script for libsecp256k1
heavily based on Electron-Cash/Electron-Cash@eda015908e9d6ea9a0adfbda9db55b929c0926ba
5 years ago
SomberNight
423d44bcaf
build-wine: some clean-up. cache downloads. better status messages
6 years ago
Filip Gospodinov
73fee2fefa
build-wine: allow local testing
Before, it was only possible to test commits that are
on Github (pull request or merged). Now, changes can be
tested locally too.
This introduces the risk that a release could be built
containing uncommitted changes which by definition breaks
deterministic builds. Fortunately, this will always be
detected because the version string is created using
`git describe --tags --dirty`.
Also, retire $TARGET variable because it decouples the
build scripts from the commit revision to be built. This
is a problem for deterministic builds.
7 years ago
SomberNight
65601e9ec6
build and include libsecp256k1 in windows binaries
7 years ago
SomberNight
deab75fe20
windows build script: cache pip
previously pip was caching into the wine directory, which we delete and recreate on every run
7 years ago
Johann Bauer
e512e9c0e8
Simplify pyinstaller installation
7 years ago
SomberNight
0693837538
freeze hw wallet dependencies into separate file. update versions using freeze_packages.sh. introduce "hardware" setuptools extra.
7 years ago
Alexx Saver
fe54ce946c
Fixed rm -rf
Notice: it is unsafe to do rm -rf ${variable}/path/* without checking the variable, quotes are also required.
7 years ago
Johann Bauer
bea62865d2
Allow to build older commits
7 years ago
Johann Bauer
4f747e78e5
Make setup.exe differ less
7 years ago
Johann Bauer
307503fb97
Make build timezone independent
7 years ago
Johann Bauer
201589b1a9
Make build timezone independent
7 years ago
ThomasV
5158799689
fix windows build script: pushd and popd require bash
7 years ago
Johann Bauer
5778102acc
Add script for deterministic builds
7 years ago