Skip to content

Commit

Permalink
Enable Windows testing (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelicianoTech authored Nov 16, 2021
1 parent 4d9dc7d commit 822116c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ workflows:
- linux-amd64
- linux-arm64
- macos
#- windows
- test-with-windows:
requires:
- gor/release
- functional-tests:
requires:
- gor/release
Expand Down Expand Up @@ -119,9 +121,18 @@ jobs:
- run: |
if [ $OSD_FAMILY == "linux" ]; then
./dist/sonar_linux_$(dpkg --print-architecture)/sonar version
else
elif [ $OSD_FAMILY == "darwin" ]; then
./dist/sonar_darwin_amd64/sonar version
else
echo "Unsupported OS and/or architecture when testing the Sonar binary." && exit 1
fi
test-with-windows:
executor: windows
steps:
- attach_workspace:
at: .
- run: |
./dist/sonar_windows_amd64/sonar version
functional-tests:
executor: linux-amd64
steps:
Expand Down

0 comments on commit 822116c

Please sign in to comment.