diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c724c1e..b4e5da0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,13 +97,4 @@ jobs: working-directory: ${{github.workspace}}/build run: xvfb-run -s "-screen 0 640x480x24" ctest -j 2 --output-on-failure --no-tests=error || xvfb-run -s "-screen 0 640x480x24" ctest -j 1 --rerun-failed --no-tests=error -VV - - name: Manual Upload Example # Replace with your own upload step - if: github.ref == 'refs/heads/main' - working-directory: ${{github.workspace}} - env: - DATA_TOKEN: ${{ secrets.DATA_TOKEN }} - run: | - zip -r artifacts.zip ./build - FILESIZE=`stat -c %s artifacts.zip` - TOKEN=`curl -X POST "https://data.kitware.com/api/v1/api_key/token?key=$DATA_TOKEN" -d "" | grep -oP '"token":\s*"\K[a-zA-Z0-9]*'` - curl -X POST "https://data.kitware.com/api/v1/file?parentId=5a4f9fa08d777f5e872f8103&name=artifacts.zip&parentType=folder&size=$FILESIZE&mimeType=application/zip" --data-binary "@./artifacts.zip" --header "Girder-Token: $TOKEN" -v --header "Content-Type: application/zip" + # uploading artifacts step is done here. Upload directory is ./build/ diff --git a/.gitlab/common.yml b/.gitlab/common.yml index 891ab3d..58fccf1 100644 --- a/.gitlab/common.yml +++ b/.gitlab/common.yml @@ -34,6 +34,7 @@ .test_binary_compatible: stage: test before_script: + - ln -s /paraview/gitlab-kitware-sciviz-ci/ /builds/gitlab-kitware-sciviz-ci - source /etc/os-release; if [[ "$VERSION" == "7 (Core)" ]]; then sed -i 's|mirror.centos.org|archive.kernel.org/centos-vault|g' /etc/yum.repos.d/*.repo; sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo; sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo; sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*; sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://archive.kernel.org/centos-vault|g' /etc/yum.repos.d/CentOS-*; yum clean all; yum --disablerepo=ius makecache; yum --disablerepo=ius -y install xorg-x11-server-Xvfb xcb-util-keysyms xcb-util-wm xcb-util-cursor libgfortran5; else yum -y install xorg-x11-server-Xvfb; fi - if [ -d "/.gitlab/qt6/lib/" ]; then export LD_LIBRARY_PATH="/.gitlab/qt6/lib/"; fi script: