add: CompatHelper job

This commit is contained in:
Wataru Otsubo 2024-09-17 13:49:47 +02:00
parent 804066dff7
commit faaa41e988

View file

@ -41,3 +41,24 @@ pages:
- public
only:
- main
CompatHelper:
image: julia:1.10 # Set to the Julia version you want to use
stage: test # You can place this in any stage that makes sense for your setup
before_script:
- apt-get update -qq && apt-get install -y git
- |
julia --color=yes -e "
import Pkg;
name = \"CompatHelper\";
uuid = \"aa819f21-2bde-4658-8897-bab36330d9b7\";
version = \"3\";
Pkg.add(; name, uuid, version)"
script:
- |
julia --color=yes -e '
import CompatHelper;
config = CompatHelper.GitLabCI(;
api_hostname="https://gitlab.cern.ch/api/v4",
clone_hostname="gitlab.cern.ch",
)
CompatHelper.main(ENV, config)'