Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
test options
  • Loading branch information
arnetheduck committed Nov 10, 2023
commit bab23a54609e1f20a86fc346705bcabd9b6df294
18 changes: 6 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,10 @@ jobs:
- name: Run tests
run: |
nim --version
env TEST_LANG="c" NIMFLAGS="${NIMFLAGS} --gc:refc" nim test
env TEST_LANG="cpp" NIMFLAGS="${NIMFLAGS} --gc:refc" nim test
if [[ "${{ matrix.branch }}" == "devel" ]]; then
echo -e "\nTesting with '--gc:orc':\n"
if env TEST_LANG="c" NIMFLAGS="${NIMFLAGS} --gc:orc" nim test; then
echo "Nim devel with --gc:orc works again! Please remove this check in ci.yml"
false
fi
if env TEST_LANG="cpp" NIMFLAGS="${NIMFLAGS} --gc:orc" nim test; then
echo "Nim devel with --gc:orc works again! Please remove this check in ci.yml"
false
fi
env TEST_LANG="c" NIMFLAGS="${NIMFLAGS}" nim test
env TEST_LANG="cpp" NIMFLAGS="${NIMFLAGS}" nim test
if [[ "${{ matrix.branch }}" != "version-1-6" ]]; then
echo -e "\nTesting with '--mm:refc':\n"
TEST_LANG="c" NIMFLAGS="${NIMFLAGS} --mm:refc" nim test
TEST_LANG="cpp" NIMFLAGS="${NIMFLAGS} --mm:refc" nim test
fi