fix(ci): use nim 2.0 branch (#1228)

This commit is contained in:
richΛrd 2024-12-09 15:41:08 -04:00 committed by GitHub
parent dd2c74d413
commit fd26f93b80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 9 deletions

View File

@ -32,10 +32,7 @@ jobs:
nim: nim:
- ref: version-1-6 - ref: version-1-6
memory_management: refc memory_management: refc
# The ref below corresponds to the branch "version-2-0". - ref: version-2-0
# Right before an update from Nimble 0.16.1 to 0.16.2.
# That update breaks our dependency resolution.
- ref: 8754469f4947844c5938f56e1fba846c349354b5
memory_management: refc memory_management: refc
include: include:
- platform: - platform:

View File

@ -10,5 +10,5 @@ jobs:
name: Daily amd64 name: Daily amd64
uses: ./.github/workflows/daily_common.yml uses: ./.github/workflows/daily_common.yml
with: with:
nim: "[{'ref': 'version-1-6', 'memory_management': 'refc'}, {'ref': '8754469f4947844c5938f56e1fba846c349354b5', 'memory_management': 'refc'}]" nim: "[{'ref': 'version-1-6', 'memory_management': 'refc'}, {'ref': 'version-2-0', 'memory_management': 'refc'}]"
cpu: "['amd64']" cpu: "['amd64']"

View File

@ -10,6 +10,6 @@ jobs:
name: Daily i386 (Linux) name: Daily i386 (Linux)
uses: ./.github/workflows/daily_common.yml uses: ./.github/workflows/daily_common.yml
with: with:
nim: "[{'ref': 'version-1-6', 'memory_management': 'refc'}, {'ref': '8754469f4947844c5938f56e1fba846c349354b5', 'memory_management': 'refc'}, {'ref': 'devel', 'memory_management': 'orc'}]" nim: "[{'ref': 'version-1-6', 'memory_management': 'refc'}, {'ref': 'version-2-0', 'memory_management': 'refc'}, {'ref': 'devel', 'memory_management': 'orc'}]"
cpu: "['i386']" cpu: "['i386']"
exclude: "[{'platform': {'os':'macos'}}, {'platform': {'os':'windows'}}]" exclude: "[{'platform': {'os':'macos'}}, {'platform': {'os':'windows'}}]"

View File

@ -10,6 +10,6 @@ jobs:
name: Daily SAT name: Daily SAT
uses: ./.github/workflows/daily_common.yml uses: ./.github/workflows/daily_common.yml
with: with:
nim: "[{'ref': '8754469f4947844c5938f56e1fba846c349354b5', 'memory_management': 'refc'}]" nim: "[{'ref': 'version-2-0', 'memory_management': 'refc'}]"
cpu: "['amd64']" cpu: "['amd64']"
use_sat_solver: true use_sat_solver: true

View File

@ -126,8 +126,8 @@ task examples_build, "Build the samples":
buildSample("tutorial_4_gossipsub", true) buildSample("tutorial_4_gossipsub", true)
buildSample("tutorial_5_discovery", true) buildSample("tutorial_5_discovery", true)
exec "nimble install -y nimpng@#HEAD" exec "nimble install -y nimpng@#HEAD"
# this is to fix broken build on 1.7.3, remove it when nimpng version 0.3.2 or later is released # this is to fix broken build on 1.7.3, remove it when nimpng version 0.3.2 or later is released
exec "nimble install -y nico@#af99dd60bf2b395038ece815ea1012330a80d6e6" exec "nimble install -y nico@#af99dd60bf2b395038ece815ea1012330a80d6e6 --passNim=--skipParentCfg"
buildSample("tutorial_6_game", false, "--styleCheck:off") buildSample("tutorial_6_game", false, "--styleCheck:off")
# pin system # pin system