aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/build.sh
blob: ece5b2a350cb24fb7495386b9f6d4f1d18dc89ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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