More fixes

This commit is contained in:
Pranav Gaddamadugu 2024-11-01 14:51:42 -07:00
parent 1cbd975a92
commit 9ddb0301b6

View File

@ -51,7 +51,7 @@ commands:
if [ ! -f "Cargo.lock" ]; then if [ ! -f "Cargo.lock" ]; then
cargo generate-lockfile cargo generate-lockfile
fi fi
git submodule update --init --recursive
install-rust-windows: install-rust-windows:
description: "Install Rust (Windows)" description: "Install Rust (Windows)"
@ -71,7 +71,6 @@ commands:
if (!(Test-Path "Cargo.lock" -PathType Leaf)) { if (!(Test-Path "Cargo.lock" -PathType Leaf)) {
cargo generate-lockfile cargo generate-lockfile
} }
git submodule update --init --recursive
build-and-test: build-and-test:
description: "Build and run tests" description: "Build and run tests"
@ -148,6 +147,9 @@ jobs:
- cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }} - cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}
- cargo-v1-{{ arch }} - cargo-v1-{{ arch }}
- install-rust-windows - install-rust-windows
- run:
name: Update Submodules
command: git submodule update --init --recursive
- build-and-test - build-and-test
- save_cache: - save_cache:
key: cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }} key: cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
@ -165,6 +167,9 @@ jobs:
- cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }} - cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}
- cargo-v1-{{ arch }} - cargo-v1-{{ arch }}
- install-rust - install-rust
- run:
name: Update Submodules
command: git submodule update --init --recursive
- build-and-test - build-and-test
- save_cache: - save_cache:
key: cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }} key: cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
@ -181,6 +186,9 @@ jobs:
- cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }} - cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
- cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }} - cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}
- cargo-v1-{{ arch }} - cargo-v1-{{ arch }}
- run:
name: Update Submodules
command: git submodule update --init --recursive
- build-and-test - build-and-test
- save_cache: - save_cache:
key: cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }} key: cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
@ -218,10 +226,10 @@ jobs:
- cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }} - cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
- cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }} - cargo-v1-{{ arch }}-{{ checksum "Cargo.toml" }}
- cargo-v1-{{ arch }} - cargo-v1-{{ arch }}
- install_rust_nightly
- run: - run:
name: Update Submodules name: Update Submodules
command: git submodule update --init --recursive command: git submodule update --init --recursive
- install_rust_nightly
- run: - run:
name: Check style name: Check style
no_output_timeout: 35m no_output_timeout: 35m