Thomas Orozco
b67a024460
Rename NO_ARGS to MINIMAL
8 years ago
Thomas Orozco
480fed14ae
Optionally disable arg parsing (-DNO_ARGS=ON)
8 years ago
Thomas Orozco
c8cc8274b8
ARM Cross Builds
...
- Upgrade to Trusty for the ARM 64 toolchain.
- Cross-compile to ARM.
- Label binaries and packages when releasing.
8 years ago
Thomas Orozco
2eeac4cd60
Don't attempt to sign without GPG_PASSPHRASE
...
This ensures PRs can build even though GPG_PASSPHRASE is missing.
8 years ago
Thomas Orozco
44b5675f0e
Sign `tini` and `tini-static` binaries
...
The GPG signing subkey and passphrase are respectively provided through
a Travis encrypted file and a Travis encrypted environment variable.
Signing is only done if there is a signing key present when the build is
complete (so as to not fail when e.g. building a PR that doesn't have
encrypted files available).
9 years ago
Thomas Orozco
a0b3006d48
Local tests: add `-it` to make them interruptible
9 years ago
Thomas Orozco
7a6105e44d
Add a default for FORCE_SUBREAPER in ddist.sh
...
Usually, we want to have FORCE_SUBREAPER=1.
9 years ago
Thomas Orozco
4b3075a11d
Add tests for subreaper-less Tini
...
If we're going to make subreaper support an option, we should ensure
that running without subreaper support also works.
9 years ago
Thomas Orozco
12749881e0
Workaround to ensure compatibility with older CMake
...
Travis uses Ubuntu Precise, which has CMake 3.8. That version does not
have support for excluding /usr and /usr/bin from the %files% list
(which results in a package that conflicts with the filesystem package
and fails to install).
This commit:
+ Builds on Precise instead of Trusty
+ Adds install tests
10 years ago
Thomas Orozco
178f46aa01
Convert to out-of-tree builds
10 years ago
Thomas Orozco
84475c399b
Simplify build script
...
Binaries are now pushed by Travis, we don't need to copy them anymore.
10 years ago
Thomas Orozco
6e7cdc63bb
Auto-generate README (for version number)
10 years ago
Thomas Orozco
699c3aadf2
Remove the static build for now
...
The static build doesn't build with clang, and its usefulness is dubious
for the time being considering the only requirement is glibc.
10 years ago
Thomas Orozco
296a29e3da
Convert to CMake
10 years ago
Thomas Orozco
ffb171edf7
Add a static version as well
10 years ago
Thomas Orozco
c666a4f718
Add version in usage, improve usage
10 years ago
Thomas Orozco
c35496874c
Just copy from the image in ddist
...
This ensures (with the help of Docker caching) that running
./dtest.sh && ./ddist.sh results in shipping the binary that was
actually tested.
10 years ago
Thomas Orozco
04119b2869
Refactor build process
10 years ago