forked from openssh/openssh-portable
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial appveyor CI * increase stack for McEliece * add stack-size build instructions/warnings to documentation
- Loading branch information
Showing
5 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: 1.0.{build} | ||
|
||
# TODO: Add MSVC support | ||
image: Visual Studio 2019 | ||
|
||
platform: x64 | ||
|
||
environment: | ||
matrix: | ||
- BUILD_SHARED: OFF | ||
COMPILER: cygwin | ||
|
||
for: | ||
- matrix: | ||
only: | ||
- OQS_USE_OPENSSL: OFF | ||
before_build: | ||
- cmd: |- | ||
choco install openssl | ||
choco install -y strawberryperl | ||
SET "OPENSSL_ROOT_DIR=C:\OpenSSL-Win64" | ||
build_script: | ||
- cmd: '%APPVEYOR_BUILD_FOLDER%\appveyor_build.bat' | ||
|
||
before_test: | ||
- cmd: |- | ||
SET "PATH=C:\Python37;C:\Python37\Scripts;%PATH%" | ||
pip.exe install pytest pytest-xdist psutil | ||
test_script: | ||
- cmd: |- | ||
cd %APPVEYOR_BUILD_FOLDER% | ||
echo "%PATH%" | ||
set PATH=%cd%;c:\cygwin64\bin;%PATH% && echo %PATH% && python oqs-test/try_connection.py doone | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
IF %COMPILER%==cygwin ( | ||
@echo on | ||
SET "PATH=C:\cywin64\bin;c:\cygwin64;%PATH%" | ||
c:\cygwin64\bin\bash.exe -lc "setup-x86_64.exe -qnNdO -R C:/cygwin64 -l C:/cygwin/var/cache/setup -P openssl -P libssl-devel -P zlib -P zlib-devel -P ninja -P cmake -P gcc -P make -P autoconf && cd ${APPVEYOR_BUILD_FOLDER} && openssl version && cygcheck -c && pwd && git clone --depth 1 --branch main https://github.com/open-quantum-safe/liboqs.git && cd liboqs && mkdir build && cd build && cmake .. -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=${APPVEYOR_BUILD_FOLDER}/oqs -DOQS_BUILD_ONLY_LIB=ON && ninja -v && ninja install && cd ${APPVEYOR_BUILD_FOLDER} && mkdir -p -m 0755 /var/empty && export LIBOQS_INSTALL=`pwd`/oqs && autoreconf && LDFLAGS=\"-Wl,--stack,20000000\" ./configure --with-liboqs-dir=`pwd`/oqs --with-libs=-lm && make && make install && TEST_SSH_UNSAFE_PERMISSIONS=1 make tests LTESTS=\"\" " | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters