-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update workflows Signed-off-by: ClemensLinnhoff <[email protected]> * Update readme Signed-off-by: ClemensLinnhoff <[email protected]> --------- Signed-off-by: ClemensLinnhoff <[email protected]>
- Loading branch information
1 parent
35082e3
commit 5eb5984
Showing
14 changed files
with
109 additions
and
29 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
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
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
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
|
||
jobs: | ||
cpp-linter: | ||
name: C++ Linter | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Model | ||
|
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,16 @@ | ||
name: Credibility Assessment | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
cl0: | ||
name: CL 0 | ||
uses: ./.github/workflows/cl0.yml | ||
|
||
cl1: | ||
name: CL 1 | ||
uses: ./.github/workflows/cl1.yml |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
|
||
jobs: | ||
fmu-artifact: | ||
name: Output FMU as artifact | ||
name: FMU Artifact | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
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,67 @@ | ||
name: FMU Compliance Checker | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
fmu-compliance-checker: | ||
name: FMU Compliance Checker | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Cache Model FMU | ||
id: cache-model-fmu | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/model_fmu | ||
key: ${{ runner.os }}-model-fmu | ||
|
||
- name: Cache FMUComplianceChecker | ||
id: cache-fmu-checker | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/FMUComplianceChecker | ||
key: ${{ runner.os }}-fmu-checker | ||
|
||
- name: Get FMUComplianceChecker | ||
if: steps.cache-fmu-checker.outputs.cache-hit != 'true' | ||
working-directory: /tmp | ||
run: git clone https://github.com/modelica-tools/FMUComplianceChecker.git | ||
|
||
- name: Build FMUComplianceChecker | ||
if: steps.cache-fmu-checker.outputs.cache-hit != 'true' | ||
working-directory: /tmp/FMUComplianceChecker | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. | ||
cmake --build . | ||
- name: Run FMUComplianceChecker | ||
working-directory: /tmp/FMUComplianceChecker/build | ||
run: ./fmuCheck.linux64 /tmp/model_fmu/${{ github.event.repository.name }}.fmu | ||
|
||
- name: Commit ID | ||
working-directory: /tmp/FMUComplianceChecker | ||
run: | | ||
echo "Commit ID: " | ||
echo $(git rev-parse --short HEAD) | ||
fmpy: | ||
name: FMPy Validate | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Cache Model FMU | ||
id: cache-model-fmu | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/model_fmu | ||
key: ${{ runner.os }}-model-fmu | ||
|
||
- name: Install FMPy | ||
run: python -m pip install fmpy[complete] | ||
|
||
- name: Run FMPy Validate | ||
working-directory: /tmp/model_fmu | ||
run: fmpy validate ${{ github.event.repository.name }}.fmu |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
|
||
jobs: | ||
markdown-lint: | ||
name: Markdown Linter | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
|
This file was deleted.
Oops, something went wrong.
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
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
File renamed without changes.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
VLP32 | ||
SCALA_1 | ||
Ibeo_LUX_2010 | ||
VLP32 | ||
VLP16 | ||
Blickfeld |
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