Commit 3d87ee68 authored by Marco Perronet's avatar Marco Perronet
Browse files
parents ee95ae25 b971c137
Pipeline #56959 passed with stages
in 1 minute and 3 seconds
# This file is a template, and might need editing before it works on your project.
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Rust.gitlab-ci.yml
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image: "rust:latest"
# Fetch submodules
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential git cmake sudo python3 bison flex
stages:
- build
- test
build-libs:
stage: build
script:
- cd src/events_generation/binary_parser/lib
- ./build_libs.sh
build:
stage: build
script:
- cargo build
test:cargo:
stage: test
script:
- echo "Done."
# - rustc --version && cargo --version # Print version info for debugging
# - cargo test --workspace --verbose # TODO use idiomatic tests
# TODO this won't work and should be done in an integration test instead
# test-tools:
# stage: test
# script:
# - cargo build
# - python3 scripts/evaluation/generate_workload.py --workload scripts/evaluation/workloads/uniprocessor_double/2_uni_double.json
# - sleep 1
# - ./src/tools/trace-sched-event -l 20
Supports Markdown
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