Skip to content
Snippets Groups Projects
Commit 895f5f2d authored by Christoph Knote's avatar Christoph Knote
Browse files

Updated CI scripts

parent 171f24cf
No related branches found
No related tags found
No related merge requests found
bin/
share
build
src/kpp
boxmox*.tar.gz
doc/boxmox_README.pdf
......
create_patch:
image: ubuntu:rolling
script:
- bash create_BOXMOX_patch.bash
tags:
- ehs_vm
boxmox_latest:
build:
image: ubuntu:rolling
before_script:
- DEBIAN_FRONTEND=noninteractive apt-get -qq update
- DEBIAN_FRONTEND=noninteractive apt-get -qq install wget patch make gcc gfortran flex bison texlive
script:
- cp -r boxmox boxmox_latest
- bash prep_BOXMOX_src_directory.bash boxmox_latest latest
- tar cvzf boxmox_latest.tar.gz boxmox_latest
tags:
- ehs_vm
- aclocal
- autoconf
- automake -a -c
- ./configure
- make
- make dist-gzip
artifacts:
paths:
- boxmox_latest.tar.gz
.compile:
script:
- bash install_BOXMOX.bash COMPILE_ONLY
- export KPP_HOME=$(pwd)/boxmox
- export PATH=$KPP_HOME/bin:$KPP_HOME/boxmox/bin:$PATH
- cd boxmox/models
- prepare_BOXMOX_mechanism MOZART_4
- new_BOXMOX_experiment_from_example chamber_experiment
- for mechpath in *def;
do
mech=${mechpath/.def/};
echo ${mech};
if [ "${mech}" != "CB05TUCl_EPA" ] && [ "${mech}" != "MCMv3_3" ];
then
prepare_BOXMOX_mechanism -f ${mech};
new_BOXMOX_experiment ${mech} chamber_experiment_${mech};
cp chamber_experiment/*csv chamber_experiment_${mech}/;
cd chamber_experiment_${mech};
./${mech}.exe;
cd ..;
fi;
done
tags:
- ehs_vm
compile_ubuntu_latest:
image: ubuntu:rolling
extends: .compile
before_script:
- DEBIAN_FRONTEND=noninteractive apt-get -qq update
- DEBIAN_FRONTEND=noninteractive apt-get -qq install wget patch make gcc gfortran flex bison texlive
tags:
- ehs_vm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment