hack nimbus-build-system/github to pick up custom Nim repo/branch

This commit is contained in:
gmega 2024-01-16 16:11:11 -03:00
parent 4ef198a296
commit 809132353c
No known key found for this signature in database
GPG Key ID: FFD8DAF00660270F
2 changed files with 8 additions and 3 deletions

View File

@ -11,7 +11,8 @@ inputs:
default: "amd64"
nim_version:
description: "Nim version"
default: "version-1-6"
# FIXME: change this once https://github.com/nim-lang/Nim/issues/23214 gets upstreamed/backported
default: "f45bdea94ac4ed9a9bae03426275456aeb0cab2a"
shell:
description: "Shell to run commands in"
default: "bash --noprofile --norc -e -o pipefail"
@ -160,6 +161,10 @@ runs:
shell: ${{ inputs.shell }} {0}
run: echo "NIM_COMMIT=${{ inputs.nim_version }}" >> ${GITHUB_ENV}
# FIXME: drop this once https://github.com/nim-lang/Nim/issues/23214 gets upstreamed/backported
- name: Set NIM_REPO
run: echo "NIM_REPO='https://github.com/gmega/Nim'" >> ${GITHUB_ENV}
- name: Build Nim and Codex dependencies
shell: ${{ inputs.shell }} {0}
run: |

4
.gitmodules vendored
View File

@ -1,8 +1,8 @@
[submodule "vendor/nimbus-build-system"]
path = vendor/nimbus-build-system
url = https://github.com/status-im/nimbus-build-system.git
url = https://github.com/gmega/nimbus-build-system.git
ignore = untracked
branch = master
branch = feat/configurable-nim-repo
[submodule "vendor/nim-libp2p"]
path = vendor/nim-libp2p
url = https://github.com/status-im/nim-libp2p.git