msvc build attempt #16
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
# basic testing with Microsoft compiler | |
# uses this: https://github.com/TheMrMilchmann/setup-msvc-dev | |
# see here for MSVC CL.EXE options: (link ok on 2023-07-04) | |
# https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170 | |
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 | |
- run: cd | |
- run: dir | |
- name: get boost | |
run: curl https://github.com/boostorg/graph/archive/refs/tags/boost-1.82.0.zip -O -J -L | |
- run: dir | |
- name: unzip boost | |
run: unzip graph-boost-1.82.0.zip | |
- name: run msvc | |
run: cl /EHsc /I graph-boost-1.82.0\include demo\sample_1.cpp | |