Skip to content

Commit

Permalink
Fix for build action.
Browse files Browse the repository at this point in the history
  • Loading branch information
aartiPl committed May 25, 2022
1 parent 88e287f commit ce44999
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,34 @@ jobs:
run: |
export PATH=${GITHUB_WORKSPACE}/build/libs:${PATH}
echo "OsType: $OSTYPE"
echo "kscript path: $(which kscript)"
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "Linux test..."
./test/test_suite.sh
elif [[ "$OSTYPE" == "darwin"* ]]; then
echo "MacOs test..."
./gradlew clean build
kscript --help
kscript -d "println(1+1)"
elif [[ "$OSTYPE" == "cygwin" ]]; then
echo "Cygwin test..."
./gradlew clean build
kscript --help
kscript -d "println(1+1)"
elif [[ "$OSTYPE" == "msys" ]]; then
echo "MSys test..."
./gradlew clean build
kscript --help
kscript -d "println(1+1)"
elif [[ "$OSTYPE" == "win32" ]]; then
echo "Windows test..."
./gradlew clean build
kscript --help
kscript -d "println(1+1)"
elif [[ "$OSTYPE" == "freebsd"* ]]; then
echo "FreeBsd test..."
./gradlew clean build
kscript --help
kscript -d "println(1+1)"
Expand Down

0 comments on commit ce44999

Please sign in to comment.