Skip to content

Commit

Permalink
To enable seeing what is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
mantielero authored Dec 20, 2023
1 parent 080ac89 commit c46a325
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/ci-zig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@ jobs:
#env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: goto-bus-stop/setup-zig@v2
#- run: zig build test
#- name: Test
# run: |
# nimble install -y
# nimble test

# - name: Setup MSYS2 (Windows)
# if: ${{matrix.target == 'windows'}}
# uses: msys2/setup-msys2@v2
# with:
# path-type: inherit
# update: true
# install: base-devel git mingw-w64-x86_64-toolchain

- name: Install FMU Compliance Checker (linux64)
uses: robinraju/[email protected]
Expand Down Expand Up @@ -72,6 +59,12 @@ jobs:
cd examples/inc
nim c -r -d:fmu2me -d:zig inc
- name: Execute FMU checker over inc.fmu in Linux
run: |
cd examples/inc
/home/runner/work/fmu.nim/fmu.nim/FMUChecker-2.0.4-linux64/fmuCheck.linux64 -h 1 -s 14 -f inc.fmu
if: runner.os == 'Linux'

- name: Execute FMU checker over inc.fmu in Linux
run: |
cd examples/inc
Expand All @@ -85,6 +78,11 @@ jobs:
echo "C:\msys64\usr\bin" >> $GITHUB_PATH
if: runner.os == 'Windows'

- name: Execute FMU checker over inc.fmu in Windows
shell: bash
run: fmuCheck.win64.exe -h 1 -s 14 -f inc.fmu
if: runner.os == 'Windows'

- name: Execute FMU checker over inc.fmu in Windows
shell: bash
run: fmuCheck.win64.exe -h 1 -s 14 -f -l 6 -e inc.log -o inc.csv inc.fmu
Expand Down

0 comments on commit c46a325

Please sign in to comment.