-
Notifications
You must be signed in to change notification settings - Fork 11
30 lines (25 loc) · 893 Bytes
/
msvc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
job3:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup MSVC Developer Command Prompt
uses: TheMrMilchmann/[email protected]
with:
arch: x64
- 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