Commit f222ddb
ENH: Add platform-specific package install inputs for system dependencies
Add optional inputs to the CXX build workflow for installing system
packages on each runner platform before building:
- apt-packages: Linux (apt-get install)
- brew-packages: macOS (brew install)
- choco-packages: Windows (choco install)
This enables modules with external library dependencies (e.g.,
ITKIOOpenSlide requiring libopenslide-dev / openslide) to use
the standard reusable workflow instead of a custom build workflow.
Usage:
```yaml
cxx-build-workflow:
uses: .../build-test-cxx.yml@v5.4.6
with:
apt-packages: 'libopenslide-dev'
brew-packages: 'openslide'
```
Each step only runs on its respective platform and is skipped
entirely when the input is not provided.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9669cfe commit f222ddb
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
| |||
65 | 77 | | |
66 | 78 | | |
67 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
68 | 96 | | |
69 | 97 | | |
70 | 98 | | |
| |||
0 commit comments