Fix license scanning build

License scanning was broken due to Cargo not being installed, and the
configuration no longer working with newer versions of the license
finder Gem.
parent f3261314
Pipeline #142145693 passed with stages
in 53 minutes and 2 seconds
......@@ -5,7 +5,7 @@ variables:
AWS_REGION: eu-west-1
# Ensure Windows builds fail when Powershell detects an error.
ErrorActionPreference: 'STOP'
LICENSE_FINDER_CLI_OPTS: '--aggregate-paths=". vm compiler"'
LICENSE_FINDER_CLI_OPTS: '--aggregate-paths=vm compiler'
stages:
- test
......@@ -25,3 +25,13 @@ include:
- local: .gitlab/ci/lints.yml
- local: .gitlab/ci/releases.yml
- template: License-Scanning.gitlab-ci.yml
license_scanning:
variables:
CARGO_HOME: $HOME/.cargo
before_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs |
sh -s -- --default-toolchain stable --profile minimal -y
- source $CARGO_HOME/env
- rustc --version
- cargo --version
......@@ -4,6 +4,7 @@ version = "0.6.0" # VERSION
authors = ["Yorick Peterse <[email protected]>"]
edition = "2018"
build = "build.rs"
license = "MPL-2.0"
[features]
default = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment