Skip to content

Commit 699ed24

Browse files
committed
Add simple workflow linux
1 parent 2edd346 commit 699ed24

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/linux_build.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: C/C++ CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: building
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: get QuantLib
12+
run: |
13+
git submodule update --init
14+
- name: Set up Boost
15+
run: |
16+
sudo apt update
17+
sudo apt install -y libboost-all-dev libboost-test-dev
18+
- name: cmake configure
19+
run : mkdir build; cd build; cmake -DQL_BUILD_EXAMPLES=false -DQL_BUILD_TEST_SUITE=false -DQL_BUILD_BENCHMARK=false -DQL_ENABLE_SESSIONS=true -DORE_BUILD_DOC=false ..
20+
- name: cmake build
21+
run: cd build/; pwd; cmake --build . -j $(nproc)

0 commit comments

Comments
 (0)