Skip to content

Commit 6eb33b9

Browse files
committed
Build libyaml as shared in GitHub Actions
Update README.md
1 parent 835a9b8 commit 6eb33b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
cd libyaml
3333
mkdir build
3434
cd build
35-
cmake .. -DBUILD_TESTING=OFF
35+
cmake .. -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON
3636
make -j $(cat /proc/cpuinfo | grep processor | wc -l)
3737
sudo make install
3838
- name: Build client library

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5
3131
cd libyaml
3232
mkdir build
3333
cd build
34-
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_TESTING=OFF ..
34+
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON ..
3535
make
3636
sudo make install
3737

0 commit comments

Comments
 (0)