Compare commits

..

4 Commits

Author SHA1 Message Date
656ce44fa8 Gitea CI: Upload packages
Some checks failed
Build Packages / Generate python client (push) Failing after 2m5s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 26m23s
Build Packages / build:rpm (rocky8) (push) Successful in 25m24s
Build Packages / build:rpm (rocky9) (push) Successful in 25m29s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 16m8s
Build Packages / Build documentation (push) Successful in 1m14s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 7m7s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 8m13s
Build Packages / Unit tests (push) Successful in 51m25s
2025-09-19 16:19:58 +02:00
cad428c328 Update CI
Some checks failed
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 15m44s
Build Packages / Generate python client (push) Successful in 50s
Build Packages / Build documentation (push) Successful in 1m30s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 9m4s
Build Packages / build:rpm (rocky9) (push) Successful in 10m12s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 8m2s
Build Packages / Unit tests (push) Successful in 1h6m34s
Build Packages / build:rpm (rocky8_nocuda) (push) Failing after 5s
Build Packages / build:rpm (rocky8) (push) Successful in 13m56s
2025-09-19 10:09:53 +02:00
7a179005a9 One more try with the upload pipeline
Some checks failed
Build Packages / build:rpm (rocky8_nocuda) (push) Failing after 0s
Build Packages / build:rpm (rocky8_sls9) (push) Failing after 0s
Build Packages / build:rpm (rocky8) (push) Failing after 1s
Build Packages / build:rpm (rocky9) (push) Failing after 1s
Build Packages / build:rpm (ubuntu2204) (push) Failing after 1s
Build Packages / build:rpm (ubuntu2404) (push) Failing after 1s
Build Packages / Build documentation (push) Successful in 1m19s
Build Packages / Unit tests (push) Successful in 50m23s
Build Packages / Generate python client (push) Failing after 31s
2025-09-18 22:09:43 +02:00
eb40e352fb Fixes to python client upload part
Some checks failed
Build Packages / build:rpm (rocky8_nocuda) (push) Failing after 0s
Build Packages / build:rpm (rocky8_sls9) (push) Failing after 0s
Build Packages / build:rpm (rocky8) (push) Failing after 1s
Build Packages / build:rpm (rocky9) (push) Failing after 0s
Build Packages / build:rpm (ubuntu2204) (push) Failing after 0s
Build Packages / build:rpm (ubuntu2404) (push) Failing after 0s
Build Packages / Build documentation (push) Successful in 1m21s
Build Packages / Unit tests (push) Successful in 52m11s
Build Packages / Generate python client (push) Failing after 56s
2025-09-18 20:14:18 +02:00
2 changed files with 55 additions and 11 deletions

View File

@@ -45,17 +45,60 @@ jobs:
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_flags }} ..
ninja frontend
ninja -j16 package
shopt -s nullglob
files=( *.rpm *.deb )
if (( ${#files[@]} )); then
mv "${files[@]}" ..
else
echo "No packages found to move"
fi
- name: Upload documentation
- name: Upload packages
if: github.ref_type == 'tag'
shell: bash
run: |
cd build
if [ "${{ matrix.distro }}" = "rocky8" ]; then
for file in *.rpm; do
if [ -f "$file" ]; then
curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \
--upload-file "$file" \
https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/cuda12/upload
fi
done
elif [ "${{ matrix.distro }}" = "rocky9" ]; then
for file in *.rpm; do
if [ -f "$file" ]; then
curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \
--upload-file "$file" \
https://gitea.psi.ch/api/packages/mx/rpm/centos/el9/cuda13/upload
fi
done
elif [ "${{ matrix.distro }}" = "rocky8_nocuda" ]; then
for file in *.rpm; do
if [ -f "$file" ]; then
curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \
--upload-file "$file" \
https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/nocuda/upload
fi
done
elif [ "${{ matrix.distro }}" = "rocky8_sls9" ]; then
for file in *.rpm; do
if [ -f "$file" ]; then
curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \
--upload-file "$file" \
https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/cuda12-sls9/upload
fi
done
elif [ "${{ matrix.distro }}" = "ubuntu2204" ]; then
for file in *.deb; do
if [ -f "$file" ]; then
curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \
--upload-file "$file" \
https://gitea.psi.ch/api/packages/mx/debian/pool/jammy/cuda13/upload
fi
done
elif [ "${{ matrix.distro }}" = "ubuntu2404" ]; then
for file in *.deb; do
if [ -f "$file" ]; then
curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \
--upload-file "$file" \
https://gitea.psi.ch/api/packages/mx/debian/pool/noble/cuda13/upload
fi
done
fi
python-client:
name: Generate python client
@@ -71,9 +114,7 @@ jobs:
TWINE_USERNAME: "__token__" # Username for Twine when using token-based auth
TWINE_PASSWORD: ${{ secrets.PIP_REPOSITORY_API_TOKEN }} # Use the secret for authentication
run: |
python -m venv .twine
source .twine/bin/activate
pip3 install twine
cd python-client
twine upload --repository-url https://gitea.psi.ch/api/packages/mx/pypi dist/*
documentation:
name: Build documentation

View File

@@ -8,6 +8,8 @@ ARG EIGEN_TAG=3.4.0
# Update base and install common utilities
RUN dnf -y update && \
dnf -y install epel-release && \
dnf -y update && \
dnf -y install --enablerepo=devel \
dnf-plugins-core \
epel-release \
@@ -58,6 +60,7 @@ RUN dnf -y update && \
python3-pip \
python3-setuptools \
python3-wheel \
twine \
freetype-devel && \
dnf clean all && rm -rf /var/cache/dnf