Skip to content

Commit

Permalink
msvc test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skramm committed Dec 17, 2023
1 parent 3d9d06f commit 1076ac9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# basic testing with Microsoft compiler
# uses this: https://github.com/TheMrMilchmann/setup-msvc-dev

# options:
# ( from https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically )
# /EHs Enable C++ exception handling (no SEH exceptions).
# (sorry, can't find what the "c" stands for in "/EHsc", but seems to be ok)

name: CI-testing-msvc

on:
Expand All @@ -18,6 +23,8 @@ jobs:
uses: TheMrMilchmann/[email protected]
with:
arch: x64
- name: run msvc
- name: run msvc single file
run: cl /EHsc misc/test_files/single_file.cpp
- name: run msvc multiple files
run: cl /EHsc misc/test_files/test_multiple.cpp misc/test_files/mylib.cpp

2 changes: 1 addition & 1 deletion misc/homog2d.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<Compiler>
<Add option="-Wall" />
</Compiler>
<Unit filename="../.github/doxygen-gh-pages.yml" />
<Unit filename="../.github/workflows/c-cpp.yml" />
<Unit filename="../.github/workflows/doxygen-gh-pages.yml" />
<Unit filename="../.github/workflows/msvc.yml" />
<Unit filename="../.travis.yml">
<Option target="&lt;{~None~}&gt;" />
Expand Down

0 comments on commit 1076ac9

Please sign in to comment.