diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1b3e271eb870e4521235e2ef5428ffef69860df..c912fb811aec723c3802f778ea1115be67c639a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,13 +29,12 @@ build:armhflinux: paths: - target/ before_script: + - dpkg --add-architecture armhf && apt-get update && apt-get install -y openssl:armhf - rustup target add arm-unknown-linux-gnueabihf - git clone --depth=1 https://github.com/raspberrypi/tools raspberrypi-tools - - mkdir .cargo - - touch .cargo/config.toml + - mkdir .cargo && touch .cargo/config.toml - echo "[target.arm-unknown-linux-gnueabihf]" >> .cargo/config.toml - echo "linker = \"$(pwd)/raspberrypi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc\"" >> .cargo/config.toml - - apt-get update && apt-get install -y openssl:armhf script: - cargo build --release --target=arm-unknown-linux-gnueabihf artifacts: