This commit is contained in:
Richard Ramos
2025-07-09 14:05:21 -04:00
parent d397b02d8c
commit 0fea0ccc60
2 changed files with 10 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ jobs:
- name: Install deps
if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }}
run: |
TARGET_CPU=${{ matrix.platform.cpu }}
nimble install
- name: Install multilib support
@@ -118,5 +119,6 @@ jobs:
nimble --version
gcc --version
TARGET_CPU=${{ matrix.platform.cpu }}
NIMFLAGS="${NIMFLAGS} --mm:${{ matrix.nim.memory_management }}"
nimble test --styleCheck:off --verbose --debug

View File

@@ -8,11 +8,18 @@ installFiles = @["ngtcp2.nim"]
requires "nim >= 1.6.0"
import os, system
template build() =
when defined(windows):
echo "TODO"
else:
exec "./build_libs.sh"
let targetCpu = getEnv("TARGET_CPU", hostCPU)
echo "TARGET CPU!!!!!!!!", targetCpu
when targetCpu == i386:
exec "./build_libs.sh --i386"
else:
exec "./build_libs.sh"
before install:
build()