Browse Source

First attempt at appveyor configuration

tags/v0.0.1
Douglas Stebila 5 years ago
committed by Thom Wiggers
parent
commit
b096330808
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
2 changed files with 31 additions and 0 deletions
  1. +12
    -0
      appveyor.yml
  2. +19
    -0
      scripts_windows/build_all.bat

+ 12
- 0
appveyor.yml View File

@@ -0,0 +1,12 @@
version: 1.0.{build}

image: Visual Studio 2017

build:
verbosity: minimal

init:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"

build_script:
- scripts_windows\build_all.bat

+ 19
- 0
scripts_windows/build_all.bat View File

@@ -0,0 +1,19 @@
@ECHO OFF
SETLOCAL
SET EL=0

REM CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
REM IF ERRORLEVEL 1 SET EL=1

FOR /D %%K IN (crypto_kem\*) DO (
FOR /D %%L IN (%%K\*) DO (
cd %%L
nmake /f Makefile.Microsoft_nmake clean
IF ERRORLEVEL 1 SET EL=2
nmake /f Makefile.Microsoft_nmake
IF ERRORLEVEL 1 SET EL=3
cd ..\..\..
)
)

EXIT /b %EL%

Loading…
Cancel
Save