Skip to content

Commit

Permalink
Created sample scritp with Docker LTA
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiegl committed Nov 19, 2024
1 parent 14aa7b3 commit 4b002b2
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/DockerConsistencyCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright (c) Robert Bosch GmbH and LieberLieber Software GmbH
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

name: Verfiy LTA ConsistencyCheck

on:
push:
# branches:
# - main

env:
ModelName: VacuumCleanerRobotModel.qeax

jobs:
ConsistencyCheck:
defaults:
run:
shell: pwsh
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
lfs: true
fetch-depth: 0

# download Lemontree.Automation on a runner and setup the license
- name: GetLTA
uses: LieberLieber/setup-LemonTree.Automation@v6
id: GetLTA
with:
License: ${{secrets.LTALICENSE}}
#ExeLocation &"${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}"

- name: ConsistencyCheck
run: |
$LemonTreeExe = "./LTA/lemontree.automation"
#workaround because github artifacts logic doesn't maintain properties
chmod +x $LemonTreeExe
&$LemonTreeExe ConsistencyCheck --Model ${{env.ModelName}}


0 comments on commit 4b002b2

Please sign in to comment.