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

Update .gitlab-ci.yml file

parent 1ca5fb50
No related branches found
No related tags found
No related merge requests found
...@@ -29,13 +29,12 @@ build:armhflinux: ...@@ -29,13 +29,12 @@ build:armhflinux:
paths: paths:
- target/ - target/
before_script: before_script:
- dpkg --add-architecture armhf && apt-get update && apt-get install -y openssl:armhf
- rustup target add arm-unknown-linux-gnueabihf - rustup target add arm-unknown-linux-gnueabihf
- git clone --depth=1 https://github.com/raspberrypi/tools raspberrypi-tools - git clone --depth=1 https://github.com/raspberrypi/tools raspberrypi-tools
- mkdir .cargo - mkdir .cargo && touch .cargo/config.toml
- touch .cargo/config.toml
- echo "[target.arm-unknown-linux-gnueabihf]" >> .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 - 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: script:
- cargo build --release --target=arm-unknown-linux-gnueabihf - cargo build --release --target=arm-unknown-linux-gnueabihf
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment