Commit 8fd07eb6 authored by Jan Kiene's avatar Jan Kiene
Browse files

checkout instead of switch

parent 52e4a7b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
      if (-not $env:IVAS_CODEC_CI_REF) { echo "Error: IVAS_CODEC_CI_REF not set" ; exit 1 }
    # note: git clone -b does not work with SHA refs, hence using the safe way of a full clone and git switch
    # also, we cannot use && with powershell < 7 unfortunately, hence we cannot reliably detect if the snippet fails
    - git clone $env:CI_SERVER_URL/ivas-codec-pc/ivas-codec-ci.git ivas-codec-ci; pushd ivas-codec-ci ; git switch --detach $env:IVAS_CODEC_CI_REF ; popd
    - git clone $env:CI_SERVER_URL/ivas-codec-pc/ivas-codec-ci.git ivas-codec-ci; pushd ivas-codec-ci ; git checkout $env:IVAS_CODEC_CI_REF ; popd

.build-job-linux:
  stage: build