Commit c5532a76 authored by Matthias Rüster's avatar Matthias Rüster
Browse files

Add GitLab CI configuration

parent dc1b3e86
Pipeline #20774 passed with stages
in 2 minutes and 19 seconds
variables:
SRC_DIR: ${CI_PROJECT_DIR}/code
TESTS_DIR: ${CI_PROJECT_DIR}/code/tests
stages:
- build
- test
.compile_easywave: &compile_easywave
- cd "${SRC_DIR}"
- ./bootstrap.sh
- ./configure --prefix=/usr
- make
- make install
verify_build_cpu:
image: ubuntu:20.04
stage: build
before_script:
- apt-get update
- apt-get upgrade -y
- apt-get install -y build-essential autoconf
script:
- *compile_easywave
verify_build_gpu:
image: nvidia/cuda:11.0.3-devel-ubuntu20.04
stage: build
before_script:
- apt-get update
- apt-get upgrade -y
- apt-get install -y build-essential autoconf
script:
- *compile_easywave
run_tests:
image: ubuntu:20.04
stage: test
before_script:
- apt-get update
- apt-get upgrade -y
- apt-get install -y python3 build-essential autoconf
script:
- *compile_easywave
- cd "${TESTS_DIR}"
- ./test-cpu.sh
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