Skip to content

chore(operations): Add builder for armv7-unknown-linux-musleabihf #1054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
47 commits merged into from
Nov 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
03bf68d
Add initial builder for armv7-unknown-linux-musleabihf
a-rodin Oct 18, 2019
1851415
Support rdkafka
a-rodin Oct 23, 2019
166211b
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Oct 25, 2019
0b65b14
Avoid dependency on platform-specific machine word size
a-rodin Oct 25, 2019
33e3638
Use leveldb dependency from a fork with newer version
a-rodin Oct 25, 2019
090e639
Update `ctor` dependency to version 0.1.12
a-rodin Oct 25, 2019
80ee3c2
Install QEMU inside the container
a-rodin Oct 30, 2019
c0dbcdb
Use grok parser from a fork
a-rodin Oct 30, 2019
46ada2b
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Oct 30, 2019
5a08b9c
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Nov 3, 2019
7c1f35f
Use rust-rdkafka from a fork with vendored OpenSSL
a-rodin Nov 3, 2019
985ad55
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Nov 11, 2019
eedf5b4
Update Rust to 1.39.0
a-rodin Nov 12, 2019
45da5a8
Remove OpenSSL
a-rodin Nov 12, 2019
68d11b6
Sync with rust-musl-toolchain Dockerfile
a-rodin Nov 12, 2019
d4f9074
Build Clang only for ARM target
a-rodin Nov 12, 2019
8984625
Fix typo
a-rodin Nov 12, 2019
a8d70b2
Fix Clang target selection
a-rodin Nov 12, 2019
e67f69c
Fix linker flags
a-rodin Nov 13, 2019
7f15e89
Sync Cargo.{toml,lock} with `master` branch
a-rodin Nov 13, 2019
dfef1f9
Use portable version of `leveldb` crate
a-rodin Nov 13, 2019
44b63d0
Update rust-rdkafka to support CMake builds
a-rodin Nov 13, 2019
868822e
Increase timeouts to let syslog tests pass on slow architectures
a-rodin Nov 14, 2019
ff721a6
Increase timeouts to let statsd tests pass on slow architectures
a-rodin Nov 14, 2019
d4a50e2
Use Rust 1.38 again because of problems with 1.39
a-rodin Nov 14, 2019
509e0d6
Increase timeouts to let syslog tests pass on slow architectures
a-rodin Nov 14, 2019
42a8f45
Increase timeouts to let statsd tests pass on slow architectures
a-rodin Nov 14, 2019
c76549e
Use leveldb from fork with improved portability
a-rodin Nov 14, 2019
da96d29
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Nov 14, 2019
d19cfe5
Merge remote-tracking branch 'origin/leveldb-portable' into armv7-unk…
a-rodin Nov 14, 2019
bced014
Update rdkafka to fix rdkafka/cmake feature
a-rodin Nov 14, 2019
c590081
Merge remote-tracking branch 'origin/rdkafka-cmake' into armv7-unknow…
a-rodin Nov 14, 2019
ad883cd
Merge remote-tracking branch 'origin/increase-test-timeouts' into arm…
a-rodin Nov 14, 2019
c56cb28
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Nov 14, 2019
c61fc55
Build armv7-unknown-linux-musleabihf archive in CI
a-rodin Nov 14, 2019
954af94
Fix job name
a-rodin Nov 14, 2019
31f447d
Use printf instead of echo to adjust ~/.cargo/config
a-rodin Nov 14, 2019
b1423e1
Register binfmt support to run ARM binaries using qemu-user
a-rodin Nov 14, 2019
8b5021a
Fix CircleCI machine type
a-rodin Nov 14, 2019
725a29d
Use correct order of Docker command line arguments
a-rodin Nov 14, 2019
282d53e
Restore rust-toolchain file
a-rodin Nov 14, 2019
3b2fab9
Restore Cargo.toml
a-rodin Nov 14, 2019
eb42609
Change resource type to large
a-rodin Nov 14, 2019
2c85cf2
Enable rdkafka/cmake_build feature
a-rodin Nov 14, 2019
da04bdb
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Nov 14, 2019
cc5fa38
Control which version of leveldb-sys to use with features
a-rodin Nov 15, 2019
e7996d2
Merge branch 'master' into armv7-unknown-linux-musleabihf
a-rodin Nov 19, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,29 @@ jobs:
paths:
- "*-x86_64-unknown-linux-musl.tar.gz"

build-armv7-unknown-linux-musleabihf-archive:
machine:
docker_layer_caching: true
resource_class: large # xlarge is not supported with "machine" executor
steps:
- checkout
- run:
name: Build archive
command: |
docker run \
--privileged \
-e RUST_LTO="lto" \
-e TARGET="armv7-unknown-linux-musleabihf" \
-e FEATURES="default rdkafka/cmake_build" \
-w "$PWD" \
-v "$PWD":"$PWD" \
-t timberiodev/vector-builder-armv7-unknown-linux-musleabihf:latest \
make build-archive
- persist_to_workspace:
root: target/artifacts
paths:
- "*-armv7-unknown-linux-musleabihf.tar.gz"

#
# Checks
#
Expand Down Expand Up @@ -580,6 +603,7 @@ require-tests-checks-and-verifications: &require-tests-checks-and-verifications
- check-generate
- test-stable
- build-x86_64-unknown-linux-musl-archive
- build-armv7-unknown-linux-musleabihf-archive
- build-x86_64-apple-darwin-archive
- verify-deb-artifact-on-deb-8
- verify-deb-artifact-on-deb-9
Expand Down Expand Up @@ -614,6 +638,7 @@ workflows:

- build-x86_64-unknown-linux-gnu-archive-and-deb-package
- build-x86_64-unknown-linux-musl-archive
- build-armv7-unknown-linux-musleabihf-archive
- build-x86_64-apple-darwin-archive
- package-rpm:
requires:
Expand Down Expand Up @@ -673,6 +698,8 @@ workflows:
<<: *release-filters
- build-x86_64-unknown-linux-musl-archive:
<<: *release-filters
- build-armv7-unknown-linux-musleabihf-archive:
<<: *release-filters
- build-x86_64-apple-darwin-archive:
<<: *release-filters
- package-rpm:
Expand Down Expand Up @@ -762,6 +789,7 @@ workflows:

- build-x86_64-unknown-linux-gnu-archive-and-deb-package
- build-x86_64-unknown-linux-musl-archive
- build-armv7-unknown-linux-musleabihf-archive
- build-x86_64-apple-darwin-archive
- package-rpm:
requires:
Expand Down
1 change: 1 addition & 0 deletions scripts/build-ci-docker-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function build_image() {
# The following images are basic Docker images that do not extend a
# cross base image.
all_images=(
builder-armv7-unknown-linux-musleabihf
builder-x86_64-unknown-linux-gnu
builder-x86_64-unknown-linux-musl
checker
Expand Down
Loading