summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-09-04 15:33:38 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-09-04 15:33:38 -0400
commit2114e19aeeb5c8893504dfa3b8831efffed1b8b3 (patch)
treebf6e697d911cbafb7612d5c3fc198dd3e4aa26b4
parentproperly free cmd_queue, should partially fix #165 from what i tell from its ... (diff)
parentmake install wlc as part of the build (diff)
downloadsway-2114e19aeeb5c8893504dfa3b8831efffed1b8b3.tar.gz
sway-2114e19aeeb5c8893504dfa3b8831efffed1b8b3.tar.zst
sway-2114e19aeeb5c8893504dfa3b8831efffed1b8b3.zip
Merge pull request #167 from mikkeloscar/master
Add CI support
-rwxr-xr-x.ci/build.sh16
-rw-r--r--.travis.yml22
2 files changed, 38 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 @@
1#!/bin/bash
2
3# clone and build wlc
4git clone https://github.com/Cloudef/wlc.git
5cd wlc
6git submodule update --init --recursive # - initialize and fetch submodules
7mkdir target && cd target # - create build target directory
8cmake -DCMAKE_BUILD_TYPE=Upstream .. # - run CMake
9make # - compile
10sudo make install # - install
11
12cd ../..
13
14# build sway
15cmake .
16make
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..5d1f8faa
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
1sudo: required
2
3arch:
4 packages:
5 - cmake
6 - xorg-server-xwayland
7 - asciidoc
8 - pcre
9 - json-c
10 - pixman
11 - wayland
12 - libxkbcommon
13 - libinput
14 - libx11
15 - libxcb
16 - libgl
17 - mesa
18 script:
19 - "bash .ci/build.sh"
20
21script:
22 - "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"