Skip to content
Snippets Groups Projects
Commit 65100270 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Update .gitlab-ci.yml

parent 90d868a6
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -7,18 +7,18 @@ before_script: ...@@ -7,18 +7,18 @@ before_script:
- apt-get update -yqq - apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential gcc-arm-none-eabi gcc-multilib binutils-arm-none-eabi binutils-arm-none-eabi gdb-arm-none-eabi - apt-get install -yqq --no-install-recommends build-essential gcc-arm-none-eabi gcc-multilib binutils-arm-none-eabi binutils-arm-none-eabi gdb-arm-none-eabi
# Must be outside the project folder # Must be outside the project folder
- cd / # - cd /
- cargo install xargo # - cargo install xargo
# Return # Return
- cd - # - cd -
#- rustup toolchain remove nightly #- rustup toolchain remove nightly
# - rustup toolchain install nightly # - rustup toolchain install nightly
- rustup default nightly - rustup default nightly
- rustup target add arm-unknown-linux-gnueabihf # - rustup target add arm-unknown-linux-gnueabihf
- rustup target add arm-unknown-linux-gnueabi # - rustup target add arm-unknown-linux-gnueabi
- rustup target add armv7-unknown-linux-gnueabihf # - rustup target add armv7-unknown-linux-gnueabihf
- rustup component add rust-src # - rustup component add rust-src
- rustup update # - rustup update
# Generate documentation # Generate documentation
...@@ -28,11 +28,12 @@ pages: ...@@ -28,11 +28,12 @@ pages:
only: only:
- master - master
script: script:
- xargo doc --no-deps - cargo doc --no-deps
- rm -rf public - rm -rf public
- mkdir public - mkdir public
# The content inside the target doc folder, but index even deeper down # The content inside the target doc folder, but index even deeper down
- cp -R target/thumbv7em-none-eabihf/doc/* public - ls target
- cp -R target/doc/* public
artifacts: artifacts:
paths: paths:
- public - public
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment