-
Notifications
You must be signed in to change notification settings - Fork 4
59 lines (57 loc) · 2.45 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
test:
name: GAP ${{ matrix.image }} - ${{ matrix.os }}
strategy:
matrix:
image: [gapsystem/gap-docker-master]
os: [ ubuntu-22.04, ubuntu-20.04, ubuntu-latest ]
runs-on: ${{ matrix.os }}
container:
image: ${{ matrix.image }}
steps:
- uses: actions/checkout@v1
- name: Install system dependencies
run: |
sudo rm -f -r /etc/apt/sources.list.d/macaulay2.list
sudo apt-get update
sudo apt-get install -y -f texlive-latex-extra time python-pathlib texlive-science time python-pathlib
sudo apt-get install -y -f autoconf build-essential curl libgmp-dev libtool libatlas-base-dev libblas-dev liblapack-dev libcdd-dev
sudo apt-get install -y -f libboost-all-dev
- name: Prepare folder for latest gap packages needed for the tests
run: |
mkdir -p /home/gap/.gap/pkg/
sudo cp -a $GITHUB_WORKSPACE /home/gap/.gap/pkg/
sudo chown -R gap:gap /home/gap/.gap/pkg/
- name: Clone and install latest gap packages and issue tests
run: |
export HOME="/home/gap"
cd /home/gap/.gap/pkg/
git clone https://github.com/homalg-project/AutoDoc.git
git clone https://github.com/homalg-project/CAP_project.git
git clone https://github.com/homalg-project/CddInterface.git
cd CddInterface/
./install.sh /home/gap/inst/gap*
cd ..
git clone https://github.com/homalg-project/ComplexesForCAP.git
git clone https://github.com/homalg-project/homalg_project.git
cd homalg_project/Gauss/
./configure /home/gap/inst/gap*
make -j $(nproc)
cd ../..
git clone https://github.com/homalg-project/LessGenerators.git
git clone https://github.com/homalg-project/NConvex.git
git clone https://github.com/homalg-project/PrimaryDecomposition.git
git clone https://github.com/sunnyquiver/QPA2.git
git clone https://github.com/homalg-project/SingularForHomalg.git
git clone https://github.com/homalg-project/HigherHomologicalAlgebra.git
cd ToricVarieties_project
make install
echo "SetInfoLevel(InfoPackageLoading, 3);" > ~/.gap/gaprc
TERM=dumb make -j $(nproc) --output-sync ci-test
curl -s https://codecov.io/bash | bash