Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/vi-analyzer-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
password: ${{ secrets.GHCR_PAT }}

- name: Pull Docker Image from Docker Hub
run: docker pull ghcr.io/shivacode-2/labview:2025q3-linux-beta
run: docker pull nationalinstruments/labview:2025q3patch1-linux

- name: Run LabVIEWCLI Operations
run: |
docker run --rm \
-v "${{ github.workspace }}:/workspace" \
ghcr.io/shivacode-2/labview:2025q3-linux-beta \
nationalinstruments/labview:2025q3patch1-linux \
bash -c "cd /workspace && chmod +x runlabview.sh && ./runlabview.sh"

11 changes: 5 additions & 6 deletions runlabview.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# Testing Change
CONFIG_FILE='/workspace/Test-VIs/viaPassCase.viancfg'
LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull'
REPORT_PATH='/usr/local/natinst/ContainerExamples/Results.txt'
Expand All @@ -14,18 +15,16 @@ fi
echo "Running LabVIEWCLI MassCompile with following parameters:"
echo "DirectorytoCompile: $MASSCOMPILE_DIR"

OUTPUT_MASSCOMPILE=$(LabVIEWCLI -LogToConsole TRUE \
LabVIEWCLI -LogToConsole TRUE \
-OperationName MassCompile \
-DirectoryToCompile $MASSCOMPILE_DIR \
-LabVIEWPath $LABVIEW_PATH)
-LabVIEWPath $LABVIEW_PATH

echo " "
echo "Done Running Masscompile Operation"
echo "Printing Results..."
echo " "
echo "########################################################################################"
echo $OUTPUT_MASSCOMPILE
echo "########################################################################################"
echo " "

echo "Running LabVIEWCLI VIAnalyzer with the following parameters:"
Expand All @@ -34,11 +33,11 @@ echo "ReportPath: $REPORT_PATH"
echo " "

# Run the LabVIEWCLI VIA command.
OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \
LabVIEWCLI -LogToConsole TRUE \
-OperationName RunVIAnalyzer \
-ConfigPath $CONFIG_FILE \
-ReportPath $REPORT_PATH \
-LabVIEWPath $LABVIEW_PATH)
-LabVIEWPath $LABVIEW_PATH

echo "Done running of VI Analyzer Tests"
echo "Printing Results..."
Expand Down