File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 33set -e
44set -x
55
6- CONTAINER=shiftcrypto/firmware_v2:13
6+ CONTAINER=shiftcrypto/firmware_v2:14
77
88if [ " $1 " == " pull" ] ; then
99 docker pull " $CONTAINER "
Original file line number Diff line number Diff line change @@ -132,9 +132,11 @@ ENV PATH /opt/lcov-1.14/bin:$PATH
132132# Install rust compiler
133133ENV PATH /opt/cargo/bin:$PATH
134134ENV RUSTUP_HOME=/opt/rustup
135- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/opt/cargo sh -s -- --default-toolchain 1.42.0 -y
135+ COPY rust-toolchain /tmp/rust-toolchain
136+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/opt/cargo sh -s -- --default-toolchain $(cat /tmp/rust-toolchain | tr -d '\r\n\t ' ) -y
136137RUN rustup target add thumbv7em-none-eabi
137- RUN rustup component add rustfmt
138+ # re-enable and put into CI once available: https://rust-lang.github.io/rustup-components-history/index.html
139+ # RUN rustup component add rustfmt
138140RUN rustup component add clippy
139141RUN CARGO_HOME=/opt/cargo cargo install cbindgen --version 0.13.1
140142RUN CARGO_HOME=/opt/cargo cargo install bindgen --version 0.53.2
Original file line number Diff line number Diff line change 1+ nightly-2020-03-25
You can’t perform that action at this time.
0 commit comments