Skip to content
Draft
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
63 changes: 0 additions & 63 deletions .github/workflows/Check_Broken_VIs.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/Run Testcases.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# This is a basic workflow to help you get started with Actions
# Merged LabVIEW CI workflow
# Combines the previous three workflows into one pipeline with the order:
# Check_Broken_VIs -> Build_VIPM_Library -> Run_Testcases
#
# Trigger paths-ignore note:
# Original workflows had slightly different ignore lists
# (Build_VIPM_Library did not ignore '**.vipb';
# Check_Broken_VIs / Run Testcases ignored '**.vipb').
# To keep this merged workflow triggering whenever ANY original workflow
# would have triggered, only the intersection of the ignore lists is used.

name: Build_VIPM_Library
name: LabVIEW CI

# 同一分支/标签的多次触发只保留最新一次运行:新 push 自动取消进行中的上一次运行,
# 避免多次提交在自托管 runner 上重复构建、排队积压(与 usermanual-ci.yml 同款配置)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Controls when the workflow will run
on:
Expand Down Expand Up @@ -31,33 +46,40 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Build_VIPM_Library:
# Single job: all steps run sequentially on the SAME (self-hosted) machine.
labview_ci:
# The type of runner that the job will run on
runs-on: [self-hosted, lv2017]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Get env variables
# https://github.com/marketplace/actions/github-environment-variables-action
- uses: FranzDiebold/github-env-vars-action@v2

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

#不再依赖 Epoch Date & Time 包

- uses: NEVSTOP-LAB/InstallNevstopPackage@main
with:
LabVIEW_Version: 2017
NEVSTOP-FTP-IP: ${{ secrets.VIPM_FTP_IP }}
NEVSTOP-FTP-PORT: ${{ secrets.VIPM_FTP_PORT }}
PackageName: Communicable-State-Machine

# Runs a set of commands using the runners shell
# --- Step 1: Check for broken VIs ---
- id: Check_Broken_VIs
uses: LV-APT/lvCICD@main
with:
LabVIEW_Version: 2017
Operation: VIAn_CheckBrokenVIs
Parameter1: ${{ github.workspace }}
Parameter2: NOPASSWORD
Parameter3: YES
Parameter4: -placeContent

# --- Step 2: Build the VIPM library ---
- name: BuildDailyVIP
id: build-vip
uses: NEVSTOP-LAB/vipm-BuildViPackage@main
Expand Down Expand Up @@ -88,3 +110,11 @@ jobs:
server_dir: /${{ env.CI_REPOSITORY_OWNER_SLUG }}/${{ env.CI_REPOSITORY_NAME }}/${{ env.CI_ACTION_REF_NAME }}/
local_dir: ./vip/

# --- Step 3: Run test cases ---
- name: Run lvCICD Test cases with VITester
id: StartVITester
uses: NEVSTOP-LAB/lvCICD@main
with:
LabVIEW_Version: 2017
Operation: StartVITester
Parameter1: ${{ github.workspace }}\CSM API String Arguments Support.lvproj
10 changes: 4 additions & 6 deletions CSM API String Arguments Support.vipb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2026-03-28 20:21:04" Creator="yaoli" Comments="" ID="521fa139301b0f81f36d68bc0327b080">
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2026-08-18 13:17:12" Creator="yaoli" Comments="" ID="9651b4a0b2c726f8c4e255323add42aa">
<Library_General_Settings>
<Package_File_Name>NEVSTOP_lib_CSM_API_String_Arguments_Support</Package_File_Name>
<Library_Version>2026.1.1.1</Library_Version>
<Library_Version>2026.7.0.1</Library_Version>
<Auto_Increment_Version>false</Auto_Increment_Version>
<Library_Source_Folder>.</Library_Source_Folder>
<Library_Output_Folder>vip</Library_Output_Folder>
Expand All @@ -17,7 +17,7 @@
</Library_General_Settings>
<Advanced_Settings>
<Package_Dependencies>
<Additional_External_Dependencies>nevstop_lib_communicable_state_machine &gt;=2025.9.13.224959</Additional_External_Dependencies>
<Additional_External_Dependencies>nevstop_lib_communicable_state_machine &gt;=2026.8.17.155753</Additional_External_Dependencies>
<Package_Conflicts>nevstop_lib_jki_state_machine++ &gt;=2023.8.5.2239</Package_Conflicts>
</Package_Dependencies>
<Custom_Action_VIs>
Expand Down Expand Up @@ -52,9 +52,7 @@ More information for the supported datatype format, please visit: https://github
<Copyright/>
<Packager>NEVSTOP</Packager>
<URL>https://github.com/NEVSTOP-LAB/CSM-API-String-Arugments-Support</URL>
<Release_Notes>[update] #109 disable &lt;safestr&gt; for string datatype
[fix] #105 Correct parsing and formatting of numeric values with "B" (byte) suffix, e.g. "100B"
[fix] #107 fix potential bug in "Strip Trailing Zeros for Float String.vi"</Release_Notes>
<Release_Notes>[update] #113 Enhance path support for linux, backslash &amp; Slash could be used both be used for separator.</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down
Binary file not shown.
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - float.vi
Binary file not shown.