aboutsummaryrefslogtreecommitdiff
path: root/.ci/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/build.sh')
-rwxr-xr-x.ci/build.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/.ci/build.sh b/.ci/build.sh
new file mode 100755
index 00000000..ece5b2a3
--- /dev/null
+++ b/.ci/build.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# clone and build wlc
+git clone https://github.com/Cloudef/wlc.git
+cd wlc
+git submodule update --init --recursive # - initialize and fetch submodules
+mkdir target && cd target # - create build target directory
+cmake -DCMAKE_BUILD_TYPE=Upstream .. # - run CMake
+make # - compile
+sudo make install # - install
+
+cd ../..
+
+# build sway
+cmake .
+make