File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Debian packages
2+ on : push
3+
4+ jobs :
5+ build-deb :
6+ runs-on : ubuntu-latest
7+ strategy :
8+ fail-fast : false
9+ matrix :
10+ release :
11+ - bullseye
12+ - bookworm
13+ - trixie
14+ container :
15+ image : debian:${{ matrix.release }}
16+ steps :
17+ - name : Install dependencies
18+ run : |
19+ apt-get update
20+ apt-get -y install 4ti2 autoconf automake bison ca-certificates cohomcalg coinor-csdp fflas-ffpack flex g++ gfan gfortran git install-info libboost-dev libboost-regex-dev libboost-stacktrace-dev libcdd-dev libeigen3-dev libffi-dev libflint-dev libfplll-dev libfrobby-dev libgc-dev libgdbm-dev libgivaro-dev libglpk-dev libgmp-dev libgtest-dev liblzma-dev libmathic-dev libmathicgb-dev libmemtailor-dev libmpfi-dev libmpfr-dev libmps-dev libnauty-dev libncurses-dev libnormaliz-dev libntl-dev libopenblas-dev libpython3-dev libreadline-dev libsingular-dev libtbb-dev libtool-bin libxml2-dev lrslib make msolve nauty normaliz patch pkgconf python3 singular-data time topcom wget zlib1g-dev devscripts build-essential
21+ - name : Clone repository
22+ run : |
23+ git clone https://salsa.debian.org/math-team/macaulay2
24+ cd macaulay2
25+ git checkout debian/${{ matrix.release }}
26+ - name : Fetch tarball
27+ run : |
28+ cd macaulay2
29+ uscan --rename --force-download --verbose
30+ - name : Build package
31+ run : |
32+ cd macaulay2
33+ dpkg-buildpackage
34+ - name : Upload artifacts
35+ uses : actions/upload-artifact@v5
36+ with :
37+ name : ${{ matrix.release }}
38+ path : |
39+ macaulay2*.buildinfo
40+ macaulay2*.changes
41+ *macaulay2*.deb
You can’t perform that action at this time.
0 commit comments