Skip to content

Commit c65a073

Browse files
Make bliss and planarity a matrix
1 parent 926d849 commit c65a073

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/config_options.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,20 @@ on:
1212

1313
jobs:
1414
with-external-planarity-bliss:
15-
name: "--with-external-planarity --with-external-bliss"
15+
name: "${{ matrix.bliss }} ${{ matrix.planarity }}"
1616
runs-on: "ubuntu-latest"
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
planarity:
21+
- "--with-external-planarity"
22+
- ""
23+
bliss:
24+
- "--with-external-bliss"
25+
- ""
26+
exclude:
27+
- planarity: ""
28+
bliss: ""
1729
defaults:
1830
run:
1931
shell: bash -l {0}
@@ -24,9 +36,7 @@ jobs:
2436
with:
2537
environment-name: digraphs
2638
cache-environment: true
27-
create-args: >-
28-
planarity
29-
bliss
39+
create-args: ${{ matrix.bliss && 'bliss' || '' }} ${{ matrix.planarity && 'planarity' || ''}}
3040
- name: "Set environment variables . . ."
3141
run: |
3242
echo "PKG_CONFIG_PATH=$MAMBA_ROOT_PREFIX/envs/digraphs/lib/pkgconfig:$MAMBA_ROOT_PREFIX/envs/digraphs/share/pkgconfig" >> $GITHUB_ENV
@@ -42,7 +52,7 @@ jobs:
4252
- name: "Build Digraphs"
4353
uses: gap-actions/build-pkg@v1
4454
with:
45-
CONFIGFLAGS: --with-external-planarity --with-external-bliss
55+
CONFIGFLAGS: ${{ matrix.bliss }} ${{ matrix.planarity }}
4656
- name: "Run Digraphs package's tst/teststandard.g"
4757
uses: gap-actions/run-pkg-tests@v2
4858
with:

0 commit comments

Comments
 (0)