Apply VIPC Dependencies 📦
Ensure a runner has all required LabVIEW packages installed before building or testing. This composite action calls ApplyVIPC.ps1 to apply a .vipc VI Package Configuration through g-cli .
Prerequisites
Inputs
Quick-start
How it works
Troubleshooting
License
Requirement
Notes
Windows runner
LabVIEW and g-cli are Windows only.
LabVIEW 2021 (21.0)
Must match both labview_version and vip_lv_version.
g-cli in PATH
Used to apply the .vipc configuration. Install via VIPM (JKI) or include the executable in the runner image.
PowerShell 7
Composite steps use PowerShell Core (pwsh).
Name
Required
Example
Description
labview_version
Yes
2021
LabVIEW major version that the repo supports.
vip_lv_version
Yes
2021
LabVIEW version used to apply the .vipc file. Usually the same as labview_version.
supported_bitness
Yes
32 or 64
LabVIEW bitness to target.
repo_root
Yes
${{ github.workspace }}
Root path of the repository on disk.
vipc_path
Yes
Tooling/deployment/runner_dependencies.vipc
Path (relative to repo_root) of the VI Package Configuration to apply.
# .github/workflows/ci-composite.yml (excerpt)
steps :
- uses : actions/checkout@v4
- name : Install LabVIEW dependencies
uses : ./.github/actions/apply-vipc
with :
labview_version : 2021
vip_lv_version : 2021
supported_bitness : 64
repo_root : ${{ github.workspace }}
vipc_path : Tooling/deployment/runner_dependencies.vipc
Checkout – pulls the repository to ensure scripts and the .vipc file are present.
PowerShell wrapper – executes ApplyVIPC.ps1 with the provided inputs.
g-cli invocation – ApplyVIPC.ps1 launches g-cli to apply the .vipc VI Package Configuration (via VIPM) to the specified LabVIEW installation.
Failure propagation – any error in path resolution, g-cli, or the script causes the step (and job) to fail.
Symptom
Hint
g-cli executable not found
Ensure g-cli is installed and on PATH.
.vipc file not found
Check repo_root and vipc_path values.
LabVIEW version mismatch
Make sure the installed LabVIEW version matches both version inputs.
This directory inherits the root repository’s license (MIT, unless otherwise noted).