Skip to content

Commit 338a0b0

Browse files
committed
.github/workflows/ci-sage.yml: Add input field for SAGE_MACAULAY2_TARGETS
1 parent 0b5084f commit 338a0b0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci-sage.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ on:
4747
- '*'
4848
workflow_dispatch:
4949
# Allow to run manually
50+
inputs:
51+
macaulay2_targets:
52+
description: 'Targets to build before M2-core, e.g., build-normaliz'
53+
required: false
5054

5155
concurrency:
5256
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -89,7 +93,7 @@ jobs:
8993
uses: passagemath/passagemath/.github/workflows/docker.yml@main
9094
with:
9195
extra_sage_packages: gdbm git libxml2 gfortran cmake python3 openblas zlib readline sqlite libpng bzip2 liblzma libffi openssl
92-
targets: SAGE_CHECK=no SAGE_CHECK_PACKAGES="macaulay2" macaulay2
96+
targets: SAGE_CHECK=no SAGE_CHECK_PACKAGES="macaulay2" SAGE_MACAULAY2_TARGETS="${{ github.event.inputs.macaulay2_targets }}" macaulay2
9397
# Standard setting: Test the current HEAD of passagemath:
9498
sage_repo: passagemath/passagemath
9599
sage_ref: main
@@ -103,7 +107,7 @@ jobs:
103107
uses: passagemath/passagemath/.github/workflows/macos.yml@main
104108
with:
105109
extra_sage_packages: gdbm git libxml2 gfortran cmake python3 openblas zlib readline sqlite libpng bzip2 liblzma libffi openssl
106-
targets: SAGE_CHECK=no SAGE_CHECK_PACKAGES="macaulay2" macaulay2
110+
targets: SAGE_CHECK=no SAGE_CHECK_PACKAGES="macaulay2" SAGE_MACAULAY2_TARGETS="${{ github.event.inputs.macaulay2_targets }}" macaulay2
107111
# Standard setting: Test the current HEAD of passagemath:
108112
sage_repo: passagemath/passagemath
109113
sage_ref: main

0 commit comments

Comments
 (0)