Skip to content

Commit

Permalink
Checkout all submodules too on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-c committed Nov 12, 2020
1 parent 10a9e66 commit 03f1c9f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tasks:
rustup component add clippy rustfmt &&
git clone --recursive --quiet ${repository} &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev} &&
pip3 install --quiet pre-commit &&
pre-commit run -a --show-diff-on-failure &&
cargo test --all --verbose --all-features"
Expand All @@ -66,7 +66,7 @@ tasks:
- "-cx"
- "git clone --recursive --quiet ${repository} &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev} &&
cargo install mdbook --no-default-features --features search,output --vers \"^0.1.0\" &&
cargo doc --release &&
cd rust-code-analysis-book &&
Expand Down Expand Up @@ -104,7 +104,7 @@ tasks:
curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar jxf - &&
git clone --recursive --quiet ${repository} &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev} &&
cargo test --all --verbose --all-features &&
zip -0 ccov.zip `find . -name 'rust_code_analysis*.gc*' -print` &&
../grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore '/*' -o lcov.info &&
Expand Down Expand Up @@ -135,7 +135,7 @@ tasks:
--default-host x86_64-pc-windows-msvc
- git clone --recursive --quiet ${repository}
- cd rust-code-analysis
- git -c advice.detachedHead=false checkout ${head_rev}
- git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev}
- cargo test --all --verbose --all-features
mounts:
- content:
Expand Down Expand Up @@ -169,7 +169,7 @@ tasks:
pushd /cache/gecko-dev && git pull origin master && popd &&
mkdir -p /tmp/mozilla_central_output &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev} &&
cargo build --release --all --all-features &&
cargo run --release -p rust-code-analysis-cli -- -p /cache/gecko-dev \
-j4 --metrics -O json -o /tmp/mozilla_central_output"
Expand Down Expand Up @@ -201,7 +201,7 @@ tasks:
- "-cx"
- "git clone --recursive --quiet ${repository} &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev} &&
cargo build --all --release &&
cd target/release &&
strip rust-code-analysis-cli &&
Expand Down Expand Up @@ -244,7 +244,7 @@ tasks:
--default-host x86_64-pc-windows-msvc
- git clone --recursive --quiet ${repository}
- cd rust-code-analysis
- git -c advice.detachedHead=false checkout ${head_rev}
- git -c advice.detachedHead=false checkout --recurse-submodules ${head_rev}
- cargo build --all --release
mounts:
- content:
Expand Down

0 comments on commit 03f1c9f

Please sign in to comment.