aboutsummaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-09-04 15:33:38 -0400
committerDrew DeVault <sir@cmpwn.com>2015-09-04 15:33:38 -0400
commit2114e19aeeb5c8893504dfa3b8831efffed1b8b3 (patch)
treebf6e697d911cbafb7612d5c3fc198dd3e4aa26b4 /.ci
parent782729be1388f3b8f603b4d328bc861fd3624233 (diff)
parent7ad157ebe2970be6f63d250af30f00a23dfec948 (diff)
downloadsway-2114e19aeeb5c8893504dfa3b8831efffed1b8b3.tar.xz
Merge pull request #167 from mikkeloscar/master
Add CI support
Diffstat (limited to '.ci')
-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