Skip to content

Commit 830531a

Browse files
committed
Merge branch 'github-193' into 'master'
Github 193 See merge request qs/ore-github!18
2 parents feafa18 + cfbd66a commit 830531a

2 files changed

Lines changed: 49 additions & 3 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: C/C++ CI Windows
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
types: [ready_for_review, opened, synchronize, reopened]
9+
paths:
10+
- .github/workflows/linux_build.yaml
11+
- ./App/**
12+
- ./OREAnalytics/**
13+
- '!./OREAnalytics/doc/**'
14+
- ./OREData/**
15+
- '!./OREData/doc/**'
16+
- ./ORETest/**
17+
- ./QuantExt/**
18+
- '!./QuantExt/doc/**'
19+
- CMakeLists.txt
20+
workflow_dispatch:
21+
22+
jobs:
23+
build:
24+
name: building
25+
runs-on: windows-2022
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: get QuantLib
29+
run: |
30+
git submodule update --init
31+
- name: Set up Boost
32+
run: |
33+
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.72.0/binaries/boost_1_72_0-msvc-14.2-64.exe"
34+
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
35+
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost"
36+
choco install -y ninja
37+
- name: cmake configure and build
38+
env:
39+
BOOST_ROOT: C:\local\boost
40+
shell: cmd
41+
run: |
42+
mkdir build
43+
cd build
44+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Vc\Auxiliary\Build\vcvarsall.bat" amd64 -vcvars_ver=14.3 || exit 1
45+
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DQL_BUILD_EXAMPLES=false -DQL_BUILD_TEST_SUITE=false -DQL_BUILD_BENCHMARK=false -DQL_ENABLE_SESSIONS=true -DORE_BUILD_DOC=false -DBOOST_INCLUDEDIR=C:\local\boost -DBOOST_LIBRARYDIR=C:\local\boost\lib64-msvc-14.3 -L
46+
cmake --build . -j 2 --verbose

.github/workflows/linux_build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: C/C++ CI
1+
name: C/C++ CI Ubuntu
22

33
on:
44
push:
5-
branches: master
5+
branches: [master]
66
pull_request:
7-
branches: master
7+
branches: [master]
88
types: [ready_for_review, opened, synchronize, reopened]
99
paths:
1010
- .github/workflows/linux_build.yaml

0 commit comments

Comments
 (0)