mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-23 18:18:11 +00:00
Fix nim devel compilation
This commit is contained in:
parent
5e3323d43f
commit
faac2eb225
12
.github/actions/install_nim/action.yml
vendored
12
.github/actions/install_nim/action.yml
vendored
@ -123,9 +123,19 @@ runs:
|
||||
shell: ${{ inputs.shell }}
|
||||
if: ${{ steps.nim-cache.outputs.cache-hit != 'true' }}
|
||||
run: |
|
||||
case ${{ inputs.nim_branch }} in
|
||||
"version-2-0" | "devel")
|
||||
CSOURCES_VERSION="v2"
|
||||
export CSOURCES_COMMIT="86742fb02c6606ab01a532a0085784effb2e753e"
|
||||
;;
|
||||
*)
|
||||
CSOURCES_VERSION="v2"
|
||||
;;
|
||||
esac
|
||||
# We don't want partial matches of the cache restored
|
||||
rm -rf nim
|
||||
curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh
|
||||
curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/allowcsourceoverride/scripts/build_nim.sh
|
||||
env MAKE="${MAKE_CMD} -j${ncpu}" ARCH_OVERRIDE=${PLATFORM} NIM_COMMIT=${{ inputs.nim_branch }} \
|
||||
CSOURCES_REPO="https://github.com/nim-lang/csources_${CSOURCES_VERSION}.git" \
|
||||
QUICK_AND_DIRTY_COMPILER=1 QUICK_AND_DIRTY_NIMBLE=1 CC=gcc \
|
||||
bash build_nim.sh nim csources dist/nimble NimBinaries
|
||||
|
Loading…
x
Reference in New Issue
Block a user