Skip to content

Commit 9266652

Browse files
wilfwilsonjames-d-mitchell
authored andcommitted
CI: test against GAP v4.10, and remove one GAP v4.11 job
1 parent f6c5974 commit 9266652

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/workflows/ubuntu.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,24 @@ jobs:
3030
- v4.14
3131
- v4.13
3232
- v4.12
33-
- v4.11
3433
mode:
3534
- onlyneeded
3635
- default
3736
include:
3837
- mode: onlyneeded
3938
pkgs-to-clone: https://github.com/digraphs/graphviz.git
40-
# Remove asterisks * when we no longer support GAP 4.11
41-
pkgs-to-build: io* orb* datastructures* profiling*
39+
pkgs-to-build: io orb datastructures profiling
4240
- mode: default
4341
pkgs-to-clone: https://github.com/digraphs/graphviz.git https://github.com/gap-packages/NautyTracesInterface.git
44-
# Remove asterisks * when we no longer support GAP 4.11
45-
pkgs-to-build: io* orb* datastructures* profiling* grape* NautyTracesInterface
42+
pkgs-to-build: io orb datastructures profiling grape NautyTracesInterface
43+
44+
- gap-version: v4.11 # Note: NautyTracesInterface requires GAP 4.12
45+
mode: default # There wouldn't be much point testing GAP v4.11 with only needed packages. The only difference is whether Grape is loaded.
46+
pkgs-to-clone: https://github.com/digraphs/graphviz.git
47+
pkgs-to-build: io* orb* datastructures* profiling* grape*
48+
- gap-version: v4.10 # Note: NautyTracesInterface requires GAP 4.12
49+
mode: default # There wouldn't be much point testing GAP v4.10 with only needed packages. The only difference is whether Grape is loaded.
50+
pkgs-to-build: io* orb* datastructures profiling* grape*
4651

4752
steps:
4853
- uses: actions/checkout@v5
@@ -53,11 +58,19 @@ jobs:
5358
with:
5459
gap-version: ${{ matrix.gap-version }}
5560
- name: "Install necessary GAP package clones . . ."
61+
if: ${{ matrix.gap-version != 'v4.10' }}
5662
run: |
5763
for PKG in ${{ matrix.pkgs-to-clone }}; do
5864
cd ${GAPROOT}/pkg
5965
git clone $PKG
6066
done
67+
# Add a special case for GAP v4.10 because it requires checking out a
68+
# specific version of the repository (not the default branch).
69+
- name: "Install datastructures v0.2.5 for GAP 4.10"
70+
if: ${{ matrix.gap-version == 'v4.10' }}
71+
run: |
72+
cd ${GAPROOT}/pkg
73+
git clone -b v0.2.5 https://github.com/gap-packages/datastructures datastructures
6174
- name: "Build additional necessary GAP packages . . ."
6275
run: |
6376
cd ${GAPROOT}/pkg

0 commit comments

Comments
 (0)