Skip to content

Commit

Permalink
Added Windows workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Sep 22, 2023
1 parent c8657aa commit 14f6e24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/functest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, ubuntu-22.04]
os: [macos-12, ubuntu-22.04, windows-2022]
steps:
- uses: actions/checkout@v4
- run: ./install.sh
Expand Down
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ then
git clone https://github.com/tfpf/hash-drbg.git $target
cd $target
fi
case $(uname 2>/dev/null) in
os=$(uname 2>/dev/null)
printf "Detected: '$os'\n"
case $os in
(MINGW* | MSYS*) make --jobs=4 "$@" install;;
(Linux | Darwin) sudo make --jobs=4 "$@" install;;
esac

0 comments on commit 14f6e24

Please sign in to comment.