-
Notifications
You must be signed in to change notification settings - Fork 48
/
verify-build.sh
executable file
·35 lines (33 loc) · 900 Bytes
/
verify-build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
if [ -z $AZBRIDGE_TEST_CXNSTRING ]; then
echo "Skipping integration tests due to missing AZBRIDGE_TEST_CXNSTRING secret"
exit 0
fi
pushd test/mysql
dotnet msbuild /t:build /p:Configuration=Debug /p:TargetFramework=net8.0 $_BuildProp $_VersionProp $@
_RESULT=$?
if [ $_RESULT -ne 0 ]; then
popd
exit $_RESULT
fi
dotnet test --verbosity=normal /p:Configuration=Debug /p:TargetFramework=net8.0 $_BuildProp $_VersionProp $@
_RESULT=$?
if [ $_RESULT -ne 0 ]; then
popd
exit $_RESULT
fi
popd
pushd test/nginx
dotnet msbuild /t:clean,build /p:Configuration=Debug /p:TargetFramework=net8.0 $_BuildProp $_VersionProp $@
_RESULT=$?
if [ $_RESULT -ne 0 ]; then
popd
exit $_RESULT
fi
dotnet test --verbosity=normal /p:Configuration=Debug /p:TargetFramework=net8.0 $_BuildProp $_VersionProp $@
_RESULT=$?
if [ $_RESULT -ne 0 ]; then
popd
exit $_RESULT
fi
popd