Skip to content
Snippets Groups Projects
Commit 391915d2 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Added CI/CD

parent c13c36a7
Branches
No related tags found
No related merge requests found
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image: "rust:1.70-alpine3.17"
# Use cargo to test the project
test:cargo:
script:
- rustc --version && cargo --version # Print version info for debugging
run_test_doc:
script:
- cd codes
- ./run_tests.sh
#!/bin/sh
make -C c_lang/min_list
cd rust_lang
for d in *; do
echo ==================== Running cargo run for $d ====================
cargo run --manifest-path $d/Cargo.toml
echo ==================== Running cargo test for $d ====================
cargo test --manifest-path $d/Cargo.toml --workspace --verbose
echo ==================== Running cargo doc for $d ====================
cargo doc --manifest-path $d/Cargo.toml
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment