test refc in CI in Nim 2.0 and later (#161)

This commit is contained in:
tersec 2024-02-22 03:42:37 +00:00 committed by GitHub
parent ed89f58624
commit 6db6088792
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -34,11 +34,11 @@ jobs:
include: include:
- target: - target:
os: linux os: linux
builder: ubuntu-20.04 builder: ubuntu-latest
shell: bash shell: bash
- target: - target:
os: macos os: macos
builder: macos-12 builder: macos-latest
shell: bash shell: bash
- target: - target:
os: windows os: windows
@ -51,7 +51,7 @@ jobs:
name: '${{ matrix.target.os }}-${{ matrix.target.cpu }} (Nim ${{ matrix.branch }})' name: '${{ matrix.target.os }}-${{ matrix.target.cpu }} (Nim ${{ matrix.branch }})'
runs-on: ${{ matrix.builder }} runs-on: ${{ matrix.builder }}
continue-on-error: ${{ matrix.branch == 'version-1-6' || matrix.branch == 'devel' }} continue-on-error: ${{ matrix.branch == 'devel' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -164,6 +164,7 @@ jobs:
nimble --version nimble --version
nimble install -y --depsOnly nimble install -y --depsOnly
nimble test nimble test
env NIMFLAGS="--mm:refc" nimble test
autobahn-test: autobahn-test:
if: github.event_name == 'push' # || github.event_name == 'pull_request' if: github.event_name == 'push' # || github.event_name == 'pull_request'