Commit 574ec288 authored by Ben Avison's avatar Ben Avison
Browse files

Enable CI/CD

parent 224b1d00
Pipeline #1169 passed with stage
in 2 seconds
- project: 'Support/CI'
file: '/Squish.yml'
stage: deploy
refs: [ master ]
tags: [ cross ]
# Depending on whether the pipeline is launched by the merge request or
# manually, VersionNum may or may not have been updated. Switch to the
# tip of master to ensure consistency.
- git checkout origin/master
- SOURCETAG=$(git describe --abbrev=8 --tags --always)
- BRANCH=Import$(echo $SOURCETAG | sed -e 's/[-._]//g')
- 'curl --location --output ~/cache/common/ -z ~/cache/common/ ""'
- unzip -q ~/cache/common/
- source RiscOS/Env/ROOL/
- git clone https://$USER:$$USER/Library.git
- INSTDIR=../Library/Build mk install
# If the installed binary has changed in any way, raise a merge request
- cd Library && git diff --quiet --exit-code || ( git checkout -b $BRANCH; git add .; git commit -m "Update Squish from tag $SOURCETAG"; git push -o merge_request.create origin $BRANCH )
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