diff options
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/build.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.ci/build.sh b/.ci/build.sh new file mode 100755 index 00000000..e2d2ced9 --- /dev/null +++ b/.ci/build.sh | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # clone and build wlc | ||
4 | git clone https://github.com/Cloudef/wlc.git | ||
5 | cd wlc | ||
6 | git submodule update --init --recursive # - initialize and fetch submodules | ||
7 | mkdir target && cd target # - create build target directory | ||
8 | cmake -DCMAKE_BUILD_TYPE=Upstream .. # - run CMake | ||
9 | make # - compile | ||
10 | |||
11 | cd ../.. | ||
12 | |||
13 | # build sway | ||
14 | cmake \ | ||
15 | -DWLC_LIBRARIES=wlc/target/src/libwlc.so \ | ||
16 | -DWLC_INCLUDE_DIRS=wlc/include . | ||
17 | make | ||