# Is performed before the scripts in the stages step before_script: - source /etc/profile # Defines stages which are to be executed stages: - build # Stage "build" run-build: stage: build script: - apt-get -y install rustup - rustup toolchain install stable - rustup update - cargo install cargo-deb - cargo deb - ls . - ls .. # The files which are to be made available in GitLab artifacts: paths: - build/*