Skip to content

Commit

Permalink
testing path
Browse files Browse the repository at this point in the history
  • Loading branch information
mantielero committed Dec 19, 2023
1 parent b861908 commit be9c80b
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,33 +70,44 @@ jobs:
/home/runner/work/fmu.nim/fmu.nim/FMUChecker-2.0.4-linux64/fmuCheck.linux64 -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu
if: runner.os == 'Linux'


- name: Set path
shell: bash
run: echo "/d/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64" >> $GITHUB_PATH
if: runner.os == 'Windows'

- name: Execute FMU checker over inc.fmu in Windows
shell: bash
# echo "$PATH"
run: |
fmuCheck.win64.exe
if: runner.os == 'Windows'

- name: Execute FMU checker over inc.fmu in Windows
shell: bash
# echo "$PATH"
run: |
/d/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe
if: runner.os == 'Windows'

# - name: Execute FMU checker over inc.fmu in Windows (Testing cmd - not working)
# shell: cmd
# run: D:/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu
# if: runner.os == 'Windows'
- name: Execute FMU checker over inc.fmu in Windows (Testing cmd - not working)
shell: cmd
run: D:/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu
if: runner.os == 'Windows'

# - name: Execute FMU checker over inc.fmu in Windows (Testing PowerShell)
# run: D:/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu
# if: runner.os == 'Windows'

- name: Execute FMU checker over inc.fmu in Windows (Testing bash)
shell: bash
run: /d/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu
if: runner.os == 'Windows'
# - name: Execute FMU checker over inc.fmu in Windows (Testing bash)
# shell: bash
# run: /d/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu
# if: runner.os == 'Windows'


- name: Execute FMU checker over inc.fmu in Windows
shell: bash
# echo "$PATH"
shell: bash
run: |
echo "/d/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64" >> $GITHUB_PATH
export PATH="/d/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64:$PATH"
chmod +x /d/a/fmu.nim/fmu.nim/FMUChecker-2.0.4-win64/fmuCheck.win64.exe
ls examples/inc
fmuCheck.win64.exe
Expand Down

0 comments on commit be9c80b

Please sign in to comment.