Loading .gitlab-ci.yml +28 −2 Original line number Diff line number Diff line image: alpine stages: - setup - test - deploy variables: GIT_SUBMODULE_STRATEGY: normal prepare: stage: setup script: - curl --header "PRIVATE-TOKEN:$CI_DOC_TOKEN" https://forge.etsi.org/rep/api/v4/projects/592/repository/files/asn2md.py?ref=master | python -c "import sys, json, base64; open('asn2md.py', 'wb').write(base64.b64decode(json.load(sys.stdin)['content']))" - mkdir -p asn1c - git clone https://github.com/fillabs/asn1c.git asn1c-build - cd asn1c-build && autoreconf -iv && ./configure --prefix=./asn1c && make && make install - rm -rf asn1c-build cache: key: asn1c when: always paths: - asn1c/ validate: stage: test script: make validate cache: - key: asn1c policy: pull paths: - asn1c/ - key: iso when: 'always' paths: - iso/* only: Loading Loading
.gitlab-ci.yml +28 −2 Original line number Diff line number Diff line image: alpine stages: - setup - test - deploy variables: GIT_SUBMODULE_STRATEGY: normal prepare: stage: setup script: - curl --header "PRIVATE-TOKEN:$CI_DOC_TOKEN" https://forge.etsi.org/rep/api/v4/projects/592/repository/files/asn2md.py?ref=master | python -c "import sys, json, base64; open('asn2md.py', 'wb').write(base64.b64decode(json.load(sys.stdin)['content']))" - mkdir -p asn1c - git clone https://github.com/fillabs/asn1c.git asn1c-build - cd asn1c-build && autoreconf -iv && ./configure --prefix=./asn1c && make && make install - rm -rf asn1c-build cache: key: asn1c when: always paths: - asn1c/ validate: stage: test script: make validate cache: - key: asn1c policy: pull paths: - asn1c/ - key: iso when: 'always' paths: - iso/* only: Loading