Commit Graph

21 Commits

Author SHA1 Message Date
Daniel Donenfeld
4b0ffca4d8 Update appveyor job to checkin asm to branch per job. Add deployment to merge all branches into master in one step 2019-02-14 10:52:06 -08:00
Daniel Donenfeld
e7335e396b Fix Auth issue (probably) 2019-02-13 13:57:52 -08:00
Daniel Donenfeld
f6d252d4a4 Start updating asm process to be safe with parallel jobs. Push asm for each Job into its own branch 2019-02-13 11:50:37 -08:00
Daniel Donenfeld
1fa2557c6e Fix ASM_FOLDER variable 2019-02-12 18:33:40 -08:00
Daniel Donenfeld
85dd342eb4 Move git commands for appveyor to batch file 2019-02-12 18:18:29 -08:00
Daniel Donenfeld
dc8116ef7d Change appveyor to use different command to determine if commit is necessary 2019-02-11 16:08:36 -08:00
Daniel Donenfeld
98fc3647e7 Modify appveyor to do git status before attempting commit 2019-02-11 15:45:15 -08:00
Daniel Donenfeld
7418626833 Fix appveyor typo 2019-02-11 14:08:12 -08:00
Daniel Donenfeld
addd9fd105 Allow disabling asm generation via cmake command line. Disable Asm for clang-cl on x86 due to LLVM issue 2019-02-11 14:05:25 -08:00
Daniel Donenfeld
b2470df93a Add more logging to commit step 2019-02-07 17:40:21 -08:00
Daniel Donenfeld
6ed93a6bc1 Change git commit command to succeed (currently just || with git status) if asm is unchanged (e.g. no sources are changed which impact asm which is generated) 2019-02-07 17:26:00 -08:00
Daniel Donenfeld
48ae07e96c add rdp to appveyor (before git commands) 2019-02-07 12:34:30 -08:00
Daniel Donenfeld
8b7b23a78d add rdp to appveyor 2019-02-07 12:24:16 -08:00
Daniel Donenfeld
f6d7df0c3b change git add command to add all under asm/. Add secure variable to travis for access token 2019-02-07 12:15:11 -08:00
Daniel Donenfeld
daa052491c Fix appveyor.yml to use updated asm location. Revert change to cmake to generate asm with regular test. 2019-02-07 09:00:30 -08:00
Daniel Donenfeld
c8438976db Merge remote-tracking branch 'upstream/master' 2019-02-06 18:15:51 -08:00
Daniel Donenfeld
b72e8920ab Add initial work checking in asm from appveyor build into branch 2019-02-06 17:55:42 -08:00
Anna Gringauze
6418b5f4de
Clang cl (#762)
* Added c++17 test configurations for clang5.0 and clang6.0

* Fix #739 correct cppcorecheck warnings for clang-cl

* Add clang-cl  configurations

* Corrections Appveyor;
Temporarily disable msvc compilation for faster testing (#741)

* Add path to clang-cl.exe (#741)

* Escape backslash in path (#741)

* Update vcpkg (#741)

* Check vcpkg version; try without building vcpkg; use latest clang-cl from path (#741)

* Fix blocks in ps script (#741)

* Try accessing APPVEYOR_BUILD_FOLDER variable (#471)

* Update span size() bug confirmation test for GCC 6.5 (#741)

* MSVC flags to Clang-cl; disable c++98-compat and undefined macro warnings (#741)

* Suppress clang warning on tests (missing-prototypes) (#741)

* Fix clang warning -Wnewline-eof (#741)

* Fix clang warning -Wdouble-promotion (#741)

* Set linker explicitly

* Clean condition statement

* For Clang, fallback to the AppVeyor installed version of CMake

* Fix clang warning -Wmissing-variable-declarations

* Fallback to the MSVC linker until vcpkg has been updated

* Revert "Fallback to the MSVC linker until vcpkg has been updated"

This reverts commit 7263f3289e.

* Fix clang warning -Wunused-member-function

* Fix clang warning -Wmissing-noreturn

* Fix clang warning -Winvalid-noreturn on Windows

* Add macro block end comment on large #if blocks

* Workaround: fallback to mscv link.exe

* Workaround: get msvc paths into PowerShell through intermediate file

* Workaround: fix, remove "PATH=" from text

* Workaround: try with full-path; and return user PATH

* Workaround: fix, escape backslashes

* Revert all since "Workaround: fallback to mscv link.exe" did not work on AppVeyor

This reverts the commits:
bda3d6a428
97062933ac
0f4fb04bac
1b0c19afd1
a5739ea5f0

* Suppress output of git pull; remove vcpkg from cache

* Re-enable AppVeyor builds for all platforms

* Correct typo

Co-Authored-By: Farwaykorse <Farwaykorse@users.noreply.github.com>

* Add Clang-cl 7.0.0 to the supported platforms

* Revert "Fix clang warning -Wunused-member-function"

This reverts commit 6fe1a42035.

* Fix or locally suppress clang warning -Wunused-member-function

* format touched code and correct comment

* git pull --quiet

* fix logic error in workaround

* fix missing bracket

* Suppress output of mkdir

* Replace MSBuild with Ninja

* Suppress output of 7z

* Add architecture flags for Clang

* Drop workaround for lld-link

* 7-zip Overwrite and Alternative output suppression without suppressing errors

Replaces 3c1c0794dd

* AppVeyor setup and CMake before build

* reorder compiler configuration

* remove unnecessary

* remove -fno-strict-aliasing

* remove -Wsign-conversion, since before v4.0 part of -Wconversion

* -Wctor-dtor-privacy is GCC only

* remove -Woverloaded-virtual part of -Wmost, part of -Wall

* add -Wmissing-noreturn

* remove the pragmas for -Wunused-member-function

* Re-add MSBuild generator on AppVeyor

* Print CMake commands

* Add MSBuild toolset selection

* Separate Architecture setting

* clang-cl: add -Weverything

* clang-cl -Wno-c++98-compat

* clang-cl -Wno-c++98-compat-pedantic

* clang-cl -Wno-missing-prototypes

* clang-cl C++14 -Wno-unused-member-function

* clang-cl -Wundef __GNUC__

* clang++: add -Weverything

* clang++ -Wno-c++98-compat

* clang++ -Wno-c++98-compat-pedantic

* clang++ -Wno-missing-prototypes

* clang++ -Wno-weak-vtables

* clang++ C++14 -Wno-unused-member-function

* clang++ fix -Wundef _MSC_VER

* clang++ -Wno-padded

* clang++ solve -Wdeprecated

* Add AppleClang compiler target
Since CMake v3.0 use of Clang for both is deprecated

* clang++ v5.0 C++17 -Wno-undefined-func-template

* Add VS2015 + LLVM/clang-cl to AppVeyor

* Do not disable constexpr when compiling with clang-cl on Windows

* Clean-up clang-only warnings (now under -Weverything)

* Revert "Fix clang warning -Winvalid-noreturn on Windows"

This reverts commit 2238c4760e.

* Suppress -Winvalid-noreturn for the MS STL noexception workaround

* CMake: put preprocessor definition in target_compile_definitions

* Solve compiler warning C4668: __GNUC__ not defined
2019-01-15 10:27:34 -08:00
Anna Gringauze
21cb6bb8b0
Added testing for c++17 to latest compilers with test with (#692)
* Added testing with std=c++17 for latest compilers

Added running latest compilers with -std=c++17 option to CI the test matrix,
Updated cmake configuration to allow passing c++ standard on the command line.

* attempt to fix appveyor break

* added clang6.0, removed c++17 tests for clang 5.0

* commented out tests for clang with c++17 die to issue #695

* Addresed comments
2018-06-15 10:13:11 -07:00
Neil MacIntosh
b2ee484334 Move from unittest-cpp to catch for unit testing. (#533)
Many thanks to @rianquinn. This should fix #495, #494 and #529.
2017-07-13 13:53:56 -07:00
Casey Carter
3300602653 CI updates incl. remove support for VS 2013.
* CI updates:

Travis: use cmake 3.7
Appveyor: Add .appveyor.yml config, test VS2013/VS2015/VS2017 x86/x64 Debug/Release.

* Drop VS2013 support from AppVeyor.
2017-04-02 12:24:42 -07:00