File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build distribution tarballs
2+ on : workflow_dispatch
3+
4+ jobs :
5+ make-dist :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v5
9+ - name : Install build dependencies
10+ run : |
11+ sudo add-apt-repository -y ppa:macaulay2/macaulay2
12+ sudo apt-get install -y 4ti2 autoconf automake bison ca-certificates cohomcalg coinor-csdp fflas-ffpack flex g++ gdbmtool 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 r-base singular-data time topcom wget zlib1g-dev
13+ - name : Build Macaulay2
14+ run : |
15+ cd M2/BUILD/build
16+ ../../autogen.sh
17+ ../../configure --with-system-libs --with-fplll
18+ make -j$(nproc 2>/dev/null || sysctl -n hw.logicalcpu)
19+ - name : Make distribution tarballs
20+ run : |
21+ cd M2/BUILD/build
22+ make dist
23+ make doc-dist
24+ - name : Upload artifacts
25+ if : always()
26+ uses : actions/upload-artifact@v4
27+ with :
28+ name : dist-tarballs
29+ path : |
30+ M2/BUILD/build/*.tar.gz
You can’t perform that action at this time.
0 commit comments