Skip to content

Commit

Permalink
Verify installation using 'ghdl --version'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jan 11, 2025
1 parent 91ef368 commit 1cc9562
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- {'icon': '🪟🟨', 'name': 'Windows', 'image': 'windows-2022', 'runtime': 'ucrt64', 'backend': 'mcode'}
- {'icon': '🪟🟨', 'name': 'Windows', 'image': 'windows-2022', 'runtime': 'ucrt64', 'backend': 'llvm'}
- {'icon': '🪟🟨', 'name': 'Windows', 'image': 'windows-2022', 'runtime': 'ucrt64', 'backend': 'llvm-jit'}
defaults:
run:
shell: bash

steps:
- name: 🟦 Setup MSYS2 for ${{ matrix.os.runtime }}
Expand All @@ -43,6 +46,13 @@ jobs:
runtime: ${{ matrix.os.runtime }}
investigate: true

- name: Verify on Linux and macOS
if: matrix.os.name == 'Ubuntu' || matrix.os.name == 'macOS'
run: |
ghdl --version
- name: Verify
if: matrix.os.name == 'Windows' && matrix.os.runtime != ''
shell: 'msys2 {0}'
run: |
ghdl --version
2 changes: 0 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,5 @@ runs:
printf "::warning title=%s::%s\n" "setup-ghdl" "Failed to remove 'ghdl.pkg.tar.zst'."
fi
which ghdl
ghdl version
echo "GHDL_PREFIX=$(realpath $(dirname $(which ghdl))/../lib/ghdl) >> $GITHUB_ENV"
echo "GHDL_PREFIX=$(realpath $(dirname $(which ghdl))/../lib/ghdl)" >> $GITHUB_ENV

0 comments on commit 1cc9562

Please sign in to comment.