-
Notifications
You must be signed in to change notification settings - Fork 277
28 lines (26 loc) · 899 Bytes
/
linux_build.yaml
File metadata and controls
28 lines (26 loc) · 899 Bytes
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
name: C/C++ CI Ubuntu
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build:
name: building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# token: ${{ secrets.ORG_ACTIONS_ACCESS }}
#- name: get QuantLib
# run: |
# git submodule update --init --recursive
- name: Set up Boost
run: |
sudo apt update
sudo apt install -y libboost-all-dev libboost-test-dev ninja-build
- name: cmake configure
run : mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=false -DQL_BUILD_EXAMPLES=false -DORE_PYTHON_INTEGRATION=ON -DQL_BUILD_TEST_SUITE=false -DQL_BUILD_BENCHMARK=false -DQL_ENABLE_SESSIONS=true -DORE_BUILD_DOC=false -DORE_BUILD_SWIG=false -G "Ninja" ..
- name: cmake build
run: cd build/; pwd; cmake --build . -j $(nproc)