mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-20 18:00:04 +00:00
use sat solver for PRs when using Nim 2
This commit is contained in:
parent
f04b2dfb3c
commit
628bfa83f4
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -104,9 +104,18 @@ jobs:
|
||||
sudo update-alternatives --set gcc /usr/bin/gcc-14
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
NIM_BRANCH: ${{ matrix.nim.branch }}
|
||||
run: |
|
||||
nim --version
|
||||
nimble --version
|
||||
gcc --version
|
||||
NIMFLAGS="${NIMFLAGS} --mm:${{ matrix.nim.memory_management }}"
|
||||
|
||||
if [[ "$NIM_BRANCH" == "version-2-0" ]]; then
|
||||
dependency_solver="sat"
|
||||
else
|
||||
dependency_solver="legacy"
|
||||
fi
|
||||
|
||||
NIMFLAGS="${NIMFLAGS} --mm:${{ matrix.nim.memory_management }} --solver:${dependency_solver}"
|
||||
nimble test
|
||||
|
Loading…
x
Reference in New Issue
Block a user