Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore go test on all ubuntu #211

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ci_scripts/all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,17 @@ go build -C examples/GoPlatform/platform -buildmode=pie -o dynhost
$ROC preprocess-host ./examples/GoPlatform/platform/dynhost ./examples/GoPlatform/platform/main.roc ./examples/GoPlatform/platform/libapp.so
$ROC build ./examples/GoPlatform/main.roc

$ROC test ./examples/CustomInspect/OpaqueTypes.roc

# temporarily allow failure of lsb_release in case it is not installed
set +e
os_info=$(lsb_release -a 2>/dev/null)
set -e

# Check if the OS is not Ubuntu 20.04. Avoids segfault on CI.
if ! echo "$os_info" | grep -q "Ubuntu 20.04"; then
# Check if the OS is not Ubuntu. Avoids segfault on CI. See https://github.com/roc-lang/examples/issues/164
if ! echo "$os_info" | grep -q "Ubuntu"; then
expect ci_scripts/expect_scripts/GoPlatform.exp
fi

$ROC test ./examples/CustomInspect/OpaqueTypes.roc

$ROC build ./examples/DotNetPlatform/main.roc --lib --output ./examples/DotNetPlatform/platform/interop
expect ci_scripts/expect_scripts/DotNetPlatform.exp
Loading