-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move plcsim folder one level up to be useable also with axopen.templa…
…tes (#586) * Create draft PR for #585 * plcsim folder moved one level up * Cleaning of the JSONREPOS folder added * JSONREPOS folders removed * JSONREPS added to gitignore * IP addresses alligned * more grannular scripts added * relative paths to scripts fixed * IP addresses in HMI apps fixed * wip * cake-more detailed single app run test added * script typo fixed * relative certification paths modified plus/minus one level up or down to be able to start the app, no hell idea why it differs between the libraries of the same folder structure * single app run wokflow, manually triggered for selected folder added * moved all app run test folder one level up * wip * forgoten commit * wip * cleaning of the generated files for template.axopenlibrary added, so as addition dotne ixc run for simple app test run * single app run test summary evaluation added * additional clean and dotnet ixc run for template.axolibrary added, plus sumarry evaluation
- Loading branch information
Showing
96 changed files
with
2,442 additions
and
2,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: nightly | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
folder: | ||
description: "Select library folder (abstractions, components.abb.robotics, components.abstractions)" | ||
required: true | ||
default: "template.axolibrary" | ||
type: choice | ||
options: | ||
- abstractions | ||
- components.abb.robotics | ||
- components.abstractions | ||
- components.balluff.identification | ||
- components.cognex.vision | ||
- components.desoutter.tightening | ||
- components.drives | ||
- components.elements | ||
- components.festo.drives | ||
- components.kuka.robotics | ||
- components.mitsubishi.robotics | ||
- components.pneumatics | ||
- components.rexroth.drives | ||
- components.rexroth.press | ||
- components.robotics | ||
- components.siem.identification | ||
- components.ur.robotics | ||
- core | ||
- data | ||
- inspectors | ||
- integrations | ||
- io | ||
- probers | ||
- simatic1500 | ||
- template.axolibrary | ||
- timers | ||
- utils | ||
jobs: | ||
app-run-manual-with-selected-folder: | ||
runs-on: [self-hosted, Windows, X64, L3, AX, APP] | ||
steps: | ||
- name: Get Branch Name | ||
shell: pwsh | ||
run: | | ||
if ($env:GITHUB_REF -like "refs/pull/*") { | ||
$BRANCH_NAME = "${{ github.event.pull_request.head.ref }}" | ||
} else { | ||
$BRANCH_NAME = $env:GITHUB_REF -replace 'refs/heads/', '' | ||
} | ||
Write-Host "Triggered on branch: $BRANCH_NAME" | ||
"BRANCH_NAME=$BRANCH_NAME" | Out-File -FilePath $env:GITHUB_ENV -Append | ||
- name: Print Inputs | ||
run: | | ||
$APP_FOLDER=${{ github.event.inputs.folder }} | ||
echo "Selected folder: $APP_FOLDER" | ||
"APP_FOLDER=$APP_FOLDER" | Out-File -FilePath $env:GITHUB_ENV -Append | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: '0' | ||
|
||
- name: "Build cake" | ||
run: dotnet build cake/Build.csproj | ||
|
||
- name: "Run cake with single app" | ||
env: | ||
GH_TOKEN : ${{ secrets.GH_TOKEN }} | ||
GH_USER : ${{ secrets.GH_USER }} | ||
run: dotnet run --project cake/Build.csproj --skip-build --apps-run --single-app-run-folder-name $env:APP_FOLDER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -429,4 +429,7 @@ library_templates | |
#DCP export | ||
dcp_export/ | ||
|
||
*.apax.tgz | ||
*.apax.tgz | ||
|
||
#JSONREPOS | ||
**/JSONREPOS/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.