Skip to content

Commit

Permalink
7 convert to lv 2017 (#8)
Browse files Browse the repository at this point in the history
* #7

* #6

* update build facility

* update ymls

* fix broken after https://github.com/NEVSTOP-LAB/SimpleGit-Provider/actions/runs/5516333465/jobs/10057572362 check
  • Loading branch information
nevstop committed Jul 11, 2023
1 parent 6414752 commit 422f45b
Show file tree
Hide file tree
Showing 37 changed files with 170 additions and 120 deletions.
57 changes: 33 additions & 24 deletions .github/workflows/Build_VIPM_Library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ name: Build_VIPM_Library
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
pull_request:
branches:
- main
types: [closed]

push:
paths-ignore:
- '**.md'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -17,27 +22,34 @@ jobs:
# This workflow contains a single job called "build"
Build_VIPM_Library:
# The type of runner that the job will run on
runs-on: [self-hosted, lv2019]
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

# - name: vipm_InstallPackagesByName
# uses: LV-APT/lvCICD@main
# with:
# Operation: vipm_InstallPackagesByName
# Parameter1: 'Git API'
- name: vipm-InstallPackage
uses: NEVSTOP-LAB/vipm-InstallPackage@main
with:
LabVIEW_Version: 2017
# Package could be PackageName/PacakgeWithVersion/vipFilePath
Package: "Git API"

# Runs a set of commands using the runners shell
- name: BuildDailyVIP
id: build-vip
uses: LV-APT/lvCICD@main
with:
LabVIEW_Version: 2017
Operation: vipm_BuildDailyVIP
Parameter1: ${{ github.workspace }}\SimpleGit-Provider.vipb
Parameter2: YES
Parameter1: ${{ github.workspace }}
Parameter2: NO

- id: vip-name
run:
Expand All @@ -46,7 +58,6 @@ jobs:
shell: powershell

- name: Upload a Build Artifact
if: github.event_name == 'push'
uses: actions/upload-artifact@v3.0.0
with:
# Artifact name
Expand All @@ -56,17 +67,15 @@ jobs:
if-no-files-found: warn
retention-days: 90

# Zip vip
# - name: Zip Vip file
# run: Compress-Archive -LiteralPath '${{ steps.build-vip.outputs.Result }}' -DestinationPath '${{ github.workspace }}\vip.zip'
# shell: powershell

# - name: Upload a Build Artifact
# uses: actions/upload-artifact@v3.0.0
# with:
# # Artifact name
# name: vip.zip
# path: ${{ steps.build-vip.outputs.Result }}
# # The desired behavior if no files are found using the provided path.
# if-no-files-found: warn
# retention-days: 90
# Backup generated files by ftp
# https://github.com/marketplace/actions/simple-ftp-upload
- name: backup Build Artifact by ftp
uses: dennisameling/ftp-upload-action@v1.0.9
with:
server: ${{ secrets.VIPM_FTP_IP }}
port: ${{ secrets.VIPM_FTP_PORT }}
username: ${{ secrets.VIPM_FTP_USER }}
password: ${{ secrets.VIPM_FTP_PASSWORD }}
secure: false
server_dir: /${{ env.CI_REPOSITORY_OWNER_SLUG }}/${{ env.CI_REPOSITORY_NAME }}/${{ env.CI_ACTION_REF_NAME }}/
local_dir: ./vip/
12 changes: 10 additions & 2 deletions .github/workflows/Check_Broken_VIs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,26 @@ jobs:
# This workflow contains a single job called "build"
Check_Broken_VIs:
# The type of runner that the job will run on
runs-on: [self-hosted, lv2019]
runs-on: [self-hosted, lv2017]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3


- name: vipm-InstallPackage
uses: NEVSTOP-LAB/vipm-InstallPackage@main
with:
LabVIEW_Version: 2017
# Package could be PackageName/PacakgeWithVersion/vipFilePath
Package: "Git API"

# Runs a set of commands using the runners shell
- id: Check_Broken_VIs
uses: LV-APT/lvCICD@main
with:
LabVIEW_Version: 2019
LabVIEW_Version: 2017
Operation: VIAn_CheckBrokenVIs
Parameter1: ${{ github.workspace }}
Parameter2: NOPASSWORD
Expand Down
File renamed without changes.
197 changes: 118 additions & 79 deletions SimpleGit-Provider.lvproj

Large diffs are not rendered by default.

24 changes: 9 additions & 15 deletions SimpleGit-Provider.vipb

Large diffs are not rendered by default.

Binary file modified SimpleGit/Git/Command/SimpleGit-Commit.vi
Binary file not shown.
Binary file modified SimpleGit/Git/Command/SimpleGit-LeaveDailyBranch.vi
Binary file not shown.
Binary file modified SimpleGit/Git/Command/SimpleGit-Pull.vi
Binary file not shown.
Binary file modified SimpleGit/Git/Command/SimpleGit-Push.vi
Binary file not shown.
Binary file modified SimpleGit/Git/Command/SimpleGit-Settings.vi
Binary file not shown.
Binary file modified SimpleGit/Git/Command/SimpleGit-Status.vi
Binary file not shown.
Binary file modified SimpleGit/Git/Command/SimpleGit-SwitchToDailyBranch.vi
Binary file not shown.
Binary file modified SimpleGit/Git/SimpleGit_Item_OnCommand.vi
Binary file not shown.
Binary file modified SimpleGit/Git/SimpleGit_Item_OnPopupMenu.vi
Binary file not shown.
Binary file modified SimpleGit/Git/SimpleGit_Item_OnUpdateCommand.vi
Binary file not shown.
Binary file modified SimpleGit/Git/SimpleGit_Menu_Hierachy.vi
Binary file not shown.
Binary file modified SimpleGit/Git/SimpleGit_OnCommand(SingleObject).vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/Close Caller FP if In LabVIEW folder.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/DailyPatchBranchName.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/GIT-Current Local Branches.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/Git Check whether Branch exists.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/SimpleGit Setting Dialog.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/config/simplegit.DailyBranchPrefix.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/config/simplegit.TortoiseGitProc.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/lvgit commit.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/lvgit pull.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/lvgit push.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/lvgit status.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/menu-Operations.llb
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/tortoisegit/Tortoisegit Exists.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/tortoisegit/Tortoisegit commit.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/tortoisegit/Tortoisegit pull.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/tortoisegit/Tortoisegit push.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/tortoisegit/Tortoisegit status.vi
Binary file not shown.
Binary file modified SimpleGit/Git/_Support/tortoisegit/Tortoisegitproc default path.vi
Binary file not shown.
Binary file modified SimpleGit/SimpleGit_Global_Interface.vi
Binary file not shown.
Binary file modified SimpleGit/SimpleGit_Item_Interface.vi
Binary file not shown.

0 comments on commit 422f45b

Please sign in to comment.