Skip to content

Commit

Permalink
on macOS, Nim devel times out during tests with orc
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status committed Apr 29, 2023
1 parent ffd4e4a commit 5d3eac5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -169,6 +169,22 @@ jobs:
if [[ "${{ matrix.target.cpu }}" == "i386" ]]; then
env TEST_LANG="c" NIMFLAGS="${NIMFLAGS} --gc:orc" nimble test
env TEST_LANG="cpp" NIMFLAGS="${NIMFLAGS} --gc:orc" nimble test
elif [[ "${{ matrix.target.os }}" == "macos" ]]; then
brew install coreutils
if env TEST_LANG="c" NIMFLAGS="${NIMFLAGS} --gc:orc" gtimeout 30m nimble test; then
echo "Nim devel with --gc:orc works again! Please remove this check in ci.yml"
false
elif (( $? != 124 )); then
echo "Nim devel with --gc:orc no longer times out! Please remove this check in ci.yml"
false
fi
if env TEST_LANG="cpp" NIMFLAGS="${NIMFLAGS} --gc:orc" gtimeout 30m nimble test; then
echo "Nim devel with --gc:orc works again! Please remove this check in ci.yml"
false
elif (( $? != 124 )); then
echo "Nim devel with --gc:orc no longer times out! Please remove this check in ci.yml"
false
fi
else
if env TEST_LANG="c" NIMFLAGS="${NIMFLAGS} --gc:orc" nimble test; then
echo "Nim devel with --gc:orc works again! Please remove this check in ci.yml"
Expand Down

0 comments on commit 5d3eac5

Please sign in to comment.