Add ORC testing for the devel branch (#98)

This commit is contained in:
ringabout 2024-01-26 14:41:00 +08:00 committed by GitHub
parent fa6e9b09e2
commit 0fe16fac47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 6 deletions

View File

@ -159,11 +159,7 @@ jobs:
nimble install -y toml_serialization json_serialization unittest2
rm -f nimble.lock
env NIMFLAGS="${NIMFLAGS} --mm:refc" nimble test
let "linux32= "${{ matrix.target.os }}" == "linux" && "${{ matrix.target.cpu }}" == "i386""
if [[ "${{ matrix.branch }}" == "devel" && "$linux32" == 0 ]]; then
if [[ ${{matrix.branch}} == "devel" ]]; then
echo -e "\nTesting with '--mm:orc':\n"
if env NIMFLAGS="${NIMFLAGS} --mm:orc" nimble test; then
echo "Nim devel with --mm:orc works again! Please remove this check in ci.yml"
false
fi
env NIMFLAGS="${NIMFLAGS} --mm:orc" nimble test
fi