diff options
author | 2015-09-04 15:33:38 -0400 | |
---|---|---|
committer | 2015-09-04 15:33:38 -0400 | |
commit | 2114e19aeeb5c8893504dfa3b8831efffed1b8b3 (patch) | |
tree | bf6e697d911cbafb7612d5c3fc198dd3e4aa26b4 /.ci | |
parent | properly free cmd_queue, should partially fix #165 from what i tell from its ... (diff) | |
parent | make install wlc as part of the build (diff) | |
download | sway-2114e19aeeb5c8893504dfa3b8831efffed1b8b3.tar.gz sway-2114e19aeeb5c8893504dfa3b8831efffed1b8b3.tar.zst sway-2114e19aeeb5c8893504dfa3b8831efffed1b8b3.zip |
Merge pull request #167 from mikkeloscar/master
Add CI support
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/build.sh | 16 |
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 @@ | |||
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 | sudo make install # - install | ||
11 | |||
12 | cd ../.. | ||
13 | |||
14 | # build sway | ||
15 | cmake . | ||
16 | make | ||