Ensure a runner has all required LabVIEW packages installed before building or testing. This composite action calls ApplyVIPC.ps1 to apply a .vipc container through g-cli. The action automatically detects the runner_dependencies.vipc file located in this directory.
| Requirement | Notes |
|---|---|
| Windows runner | LabVIEW and g-cli are Windows only. |
LabVIEW >= 2021 |
Must match both minimum_supported_lv_version and vip_lv_version. |
g-cli in PATH |
Used to apply the .vipc container. Install from NI Package Manager or include the executable in the runner image. |
| PowerShell 7 | Composite steps use PowerShell Core (pwsh). |
| Name | Required | Example | Description |
|---|---|---|---|
minimum_supported_lv_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 minimum_supported_lv_version. |
supported_bitness |
Yes | 32 or 64 |
LabVIEW bitness to target. |
relative_path |
Yes | $ |
Root path of the repository on disk. |
# .github/workflows/ci-composite.yml (excerpt)
steps:
- uses: actions/checkout@v4
- name: Install LabVIEW dependencies
uses: ./.github/actions/apply-vipc
with:
minimum_supported_lv_version: 2021
vip_lv_version: 2021
supported_bitness: 64
relative_path: $
The CI pipeline applies these dependencies across multiple LabVIEW versions—2021 (32-bit and 64-bit) and 2023 (64-bit)—as shown in
.github/workflows/ci.yml.
.vipc file are present.ApplyVIPC.ps1 with the provided inputs.ApplyVIPC.ps1 launches g-cli to apply the .vipc container to the specified LabVIEW installation.| Symptom | Hint |
|---|---|
| g-cli executable not found | Ensure g-cli is installed and on PATH. |
.vipc file not found |
Ensure runner_dependencies.vipc exists in this action directory. |
| LabVIEW version mismatch | Make sure the installed LabVIEW version matches both version inputs. |
See also: docs/actions/apply-vipc.md
This directory inherits the root repository’s license (MIT, unless otherwise noted).