Skip to content

Commit

Permalink
! E Updated CI to build package.
Browse files Browse the repository at this point in the history
  • Loading branch information
stagg54 committed Feb 21, 2024
1 parent 9f332cb commit af11076
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
- uses: actions/checkout@v4
- name: Run Unit Tests
shell: bash
run: ./run_unittests.sh
run: -./run_unittests.sh
- name: Build Package
shell: bash
urn: -./bulid.sh $GITHUB_RUN_NUMBER
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
Expand Down
18 changes: 9 additions & 9 deletions Approval Tests.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-02-03 17:12:45" Modified_Date="2024-02-21 11:28:03" Creator="Samuel Taggart" Comments="" ID="ca0eecd095d0d247313ca7ed8f78a9db">
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-02-03 17:12:45" Modified_Date="2024-02-21 15:33:08" Creator="Samuel Taggart" Comments="" ID="cbf714d691bca552960480ef0f205c47">
<Library_General_Settings>
<Package_File_Name>SAS_lib_Approval_Tests</Package_File_Name>
<Library_Version>2.0.0.8</Library_Version>
<Library_Version>2.0.0.13</Library_Version>
<Auto_Increment_Version>false</Auto_Increment_Version>
<Library_Source_Folder>Source</Library_Source_Folder>
<Library_Output_Folder>build</Library_Output_Folder>
Expand Down Expand Up @@ -318,7 +318,7 @@ Find a starterproject with some examples here: https://github.com/approvals/Appr
<Path>Source\Options</Path>
<VI_Title/>
</Items_Data>
<GUID>FFA49277A2A5C433A387C833DAC4031A</GUID>
<GUID>4423978BCE7154B03CDE813021CF41E4</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -423,7 +423,7 @@ Find a starterproject with some examples here: https://github.com/approvals/Appr
<Path>Source\Extensions\VITester.Extension\New Verify File.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>B92AB82AA968650616B9A54F6B002FDA</GUID>
<GUID>0AB328D88BA34750EADF62025ED57D5E</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -528,7 +528,7 @@ Find a starterproject with some examples here: https://github.com/approvals/Appr
<Path>Source\Extensions\LUnit.Extension\New Verify File.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>55A0FD88DAD968D1A9069EC928EF81C3</GUID>
<GUID>EE8848830D7EE200C5B64913D9ABD122</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -633,7 +633,7 @@ Find a starterproject with some examples here: https://github.com/approvals/Appr
<Path>Source\Extensions\Caraya.Extension\New Verify File.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>81C50BD4761E388D8D17213E37C6F303</GUID>
<GUID>93884CC3035B199D4BECD8D3098347FB</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -696,7 +696,7 @@ Find a starterproject with some examples here: https://github.com/approvals/Appr
<Path>Source\Approval Tests\Add Regex Scrubber Unique.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>51C0F4A7D87307280C3533FD616DDD75</GUID>
<GUID>5ACF2E953B157A39933198414AC54BA7</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -801,7 +801,7 @@ Find a starterproject with some examples here: https://github.com/approvals/Appr
<Path>Source\Approval Tests\Verify File.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>3E46143B6B485B03BFADD385CC5B5612</GUID>
<GUID>27D35104D61B74BFC9CB88A6462005E7</GUID>
</Functions_Palette_Data>
</Library_Palette_Definition>
<Library_Palette_Definition>
Expand All @@ -824,7 +824,7 @@ Find a starterproject with some examples here: https://github.com/approvals/Appr
<Synchronyze_with_Directory>false</Synchronyze_with_Directory>
<Synchronize_Directory_Path>.</Synchronize_Directory_Path>
</Synchronization_Info>
<GUID>3F6D5164FFA24A20CBC2FA086BA84ED0</GUID>
<GUID>D279E630CB3B99AA952252C21416C1F2</GUID>
</Functions_Palette_Data>
</Library_Palette_Definition>
</VI_Package_Builder_Settings>
13 changes: 13 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! /usr/bin/bash
VERSION="2.0.0"
rm build/*.vip 2>/dev/null
set -euo pipefail

echo "Building $VERSION.$1"

HERE=$(cygpath -w $(pwd))
SECONDS=0
g-cli clearlvcache
g-cli vipc -- -v "20.0 (64-bit)" -t 1200 "approvals-dev.vipc"
g-cli vipb -- -b "Approval Tests.vipb" -v "$VERSION.$1" -r "release-notes.txt"
echo "Script Time: $SECONDS"

0 comments on commit af11076

Please sign in to comment.