Skip to content

Commit

Permalink
fix: "example: build UNIX Socket and MQTT for armv7"
Browse files Browse the repository at this point in the history
related to: #149
  • Loading branch information
Lazzaretti committed Jan 31, 2023
1 parent 7c01802 commit e9234b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions buildkite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@ steps:
- docker-compose run hello-world | tee build.log | grep --line-buffered "dummy-logger-output received cloud event with id=3" | exit 0
timeout_in_minutes: 10
artifact_paths: "**/build.log"
# todo: needs fixing: https://github.com/ce-rust/cerk/issues/149
# - label: "example: build UNIX Socket and MQTT for armv7"
# commands:
# - cd examples/unix_socket_and_mqtt_on_armv7
# - docker build . -t armv7
# - echo "now in $${PWD}"
# - docker run -v $${PWD}/../../:/cerk armv7
# plugins:
# - artifacts#v1.2.0:
# upload: "target/armv7-unknown-linux-gnueabihf/release/unix_socket_and_mqtt_on_armv7"
- label: "example: build UNIX Socket and MQTT for armv7"
commands:
- cd examples/unix_socket_and_mqtt_on_armv7
- docker build . -t armv7
- docker run -v $${PWD}/../../:/cerk armv7
plugins:
- artifacts#v1.2.0:
upload: "target/armv7-unknown-linux-gnueabihf/release/unix_socket_and_mqtt_on_armv7"
- label: "example: execute rule based routing"
commands:
- cd examples/examples/src/rule_based_routing
Expand Down
2 changes: 1 addition & 1 deletion examples/unix_socket_and_mqtt_on_armv7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:18.04

RUN apt-get update
RUN apt-get install -y curl build-essential llvm clang gcc gcc-7-multilib make cmake lsb-release libssl-dev wget \
RUN apt-get install -y curl build-essential llvm clang gcc make cmake lsb-release libssl-dev wget \
&& apt-get install -qq gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit e9234b3

Please sign in to comment.