-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional comment as per review
- Loading branch information
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Install additional dependencies | ||
if [ -z ${OSX_ARCH+x} ]; then | ||
./install_dependencies.sh linux | ||
mkdir build | ||
cd build | ||
cmake -G "Unix Makefiles" .. | ||
else | ||
./install_dependencies.sh osx | ||
mkdir build | ||
cd build | ||
cmake -G "Unix Makefiles" .. | ||
fi | ||
make -j2 | ||
cd .. | ||
./build/bin/test_validation_suite | ||
echo "Done with vcf-validator" | ||
mkdir build || { echo "Failed to create build directory" >&2; exit 1; } | ||
cd build || { echo "Failed to go into build directory" >&2; exit 1; } | ||
cmake -G "Unix Makefiles" .. | ||
make -j2 || { echo "Build failed" >&2; exit 1; } | ||
cd .. || { echo "Failed to return to parent directory" >&2; exit 1; } | ||
if ! ./build/bin/test_validation_suite; then | ||
echo "Validation suite failed" >&2 | ||
exit 1 | ||
fi | ||
echo "Done with vcf-validator" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters