new AppVeyor configuration that should test the compiler against sele… (#10549)

This commit is contained in:
Andreas Rumpf 2019-02-09 07:40:00 +01:00 • committed by GitHub
commit dee9a94278
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 41 deletions

View file

@ -5,23 +5,22 @@ cache:
- sqlite-dll-win64-x64-3160200.zip - sqlite-dll-win64-x64-3160200.zip
# - i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z # - i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
matrix:
fast_finish: true
environment: environment:
matrix: MINGW_DIR: mingw64
- MINGW_DIR: mingw64
MINGW_URL: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z/download MINGW_URL: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z/download
MINGW_ARCHIVE: x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z MINGW_ARCHIVE: x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
SQLITE_URL: http://www.sqlite.org/2017/sqlite-dll-win64-x64-3160200.zip SQLITE_URL: http://www.sqlite.org/2017/sqlite-dll-win64-x64-3160200.zip
SQLITE_ARCHIVE: sqlite-dll-win64-x64-3160200.zip SQLITE_ARCHIVE: sqlite-dll-win64-x64-3160200.zip
platform: x64 platform: x64
# - MINGW_DIR: mingw32
# MINGW_URL: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/dwarf/i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z/download matrix:
# MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z - NIM_TEST_PACKAGES: true
# SQLITE_URL: http://www.sqlite.org/2017/sqlite-dll-win32-x86-3160200.zip - NIM_TEST_PACKAGES: false
# SQLITE_ARCHIVE: sqlite-dll-win32-x86-3160200.zip
# platform: x86 matrix:
#allow_failures:
# - NIM_TEST_PACKAGES: true
fast_finish: true
install: install:
- ps: Install-Product node 8 # node 8 or later is required to test js async stuff - ps: Install-Product node 8 # node 8 or later is required to test js async stuff

View file

@ -467,10 +467,9 @@ proc runCI(cmd: string) =
## build nimble early on to enable remainder to depend on it if needed ## build nimble early on to enable remainder to depend on it if needed
kochExecFold("Build Nimble", "nimble") kochExecFold("Build Nimble", "nimble")
when false: if getEnv("NIM_TEST_PACKAGES", "false") == "true":
for pkg in "zip opengl sdl1 jester@#head niminst".split: execFold("Test selected Nimble packages", "nim c -r testament/tester cat nimble-extra")
exec "nimble install -y" & pkg else:
buildTools() # altenatively, kochExec "tools --toolsNoNimble" buildTools() # altenatively, kochExec "tools --toolsNoNimble"
## run tests ## run tests

View file

@ -8,11 +8,11 @@ var packages*: seq[tuple[name, cmd, version: string]] = @[]
pkg "karax" pkg "karax"
pkg "cligen" pkg "cligen"
pkg "glob" pkg "glob"
pkg "regex" #pkg "regex"
pkg "freeimage", "nim c freeimage.nim" pkg "freeimage", "nim c freeimage.nim"
pkg "zero_functional" pkg "zero_functional"
pkg "nimpy", "nim c nimpy.nim" pkg "nimpy", "nim c nimpy.nim"
pkg "nimongo", "nimble test_ci" #pkg "nimongo", "nimble test_ci"
pkg "inim" pkg "inim"
pkg "sdl1", "nim c src/sdl.nim" pkg "sdl1", "nim c src/sdl.nim"