Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
1 change: 1 addition & 0 deletions .gitlab/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading