mirror of
https://github.com/vacp2p/nim-ngtcp2.git
synced 2026-01-08 20:48:03 -05:00
test
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user