Forked from
ogs / ogs
10259 commits behind the upstream repository.
-
Lars Bilke authored
Otherwise we get illegal instructions when compiling OGS when the image was built on e.g. envinf2.
Lars Bilke authoredOtherwise we get illegal instructions when compiling OGS when the image was built on e.g. envinf2.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
container.yml 1.07 KiB
container:
stage: package
tags: [envinf2-shell]
needs: [meta]
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: $CI_COMMIT_TAG
extends:
- .container-maker-setup
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- >
poetry run ogscm compiler.py ogs.py -B -C -R --ogs ../..
--build_args ' --progress=plain'
--pm system --cvode --ccache
--cmake_args ' -DBUILD_TESTING=OFF -DOGS_BUILD_UTILS=ON'
--tag $CI_REGISTRY/ogs/$CI_PROJECT_NAME/ogs-serial --upload
- >
poetry run ogscm compiler.py mpi.py ogs.py -B -C -R --ogs ../..
--build_args ' --progress=plain'
--pm system --cvode --ccache
--cmake_args ' -DBUILD_TESTING=OFF'
--base_image 'centos:8' --ompi 4.0.5 --mpi_benchmarks
- >
poetry run ogscm compiler.py ogs.py -B -C -R --ogs ../..
--build_args ' --progress=plain'
--pm system --cvode --ccache
--cmake_args ' -DBUILD_TESTING=OFF'
--gui
artifacts:
name: container
paths:
- ThirdParty/container-maker/_out/images/*.sif