Skip to content
Snippets Groups Projects
Commit 323029f4 authored by Marvin Weiler's avatar Marvin Weiler
Browse files

Update .gitlab-ci.yml file

parent 05f50c05
No related branches found
Tags 0.1.0-test11
No related merge requests found
......@@ -31,8 +31,10 @@ build:armhflinux:
before_script:
- rustup target add arm-unknown-linux-gnueabihf
- git clone --depth=1 https://github.com/raspberrypi/tools raspberrypi-tools
- echo "[target.arm-unknown-linux-gnueabihf]" >> ~/.cargo/config
- echo "linker = \"$(pwd)/raspberrypi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc\"" >> ~/.cargo/config
- 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
script:
- cargo build --release --target=arm-unknown-linux-gnueabihf
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment