summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2020-08-15 09:45:39 +0200
committerGDR! <gdr@gdr.name>2020-08-15 09:45:39 +0200
commit9a008ae6371e95008ce947eb5603a585f0324f93 (patch)
tree6a2050e906f8ff9a03ee29c9d8a40781bd3baec5
parenta15bc102fd84ae9325774abc3209eb7e8fcf5b39 (diff)
ci
-rw-r--r--BUILD.md10
-rw-r--r--bitbucket-pipelines.yml20
2 files changed, 29 insertions, 1 deletions
diff --git a/BUILD.md b/BUILD.md
index 6e69164..a2f23e9 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -16,13 +16,21 @@ c-toxcore is the only direct dependency. c-toxcore requires libsodium and libeve
16In Debian sid, toxcore is in the main repos so it's very easy to build a deb package. 16In Debian sid, toxcore is in the main repos so it's very easy to build a deb package.
17 17
18``` 18```
19apt install pkg-config build-essential make libtoxcore-dev dh-make 19apt install pkg-config build-essential make libtoxcore-dev dh-make git python3-jinja2 python3-requests
20git clone https://github.com/gjedeer/tuntox.git 20git clone https://github.com/gjedeer/tuntox.git
21cd tuntox 21cd tuntox
22dh_make --createorig -s 22dh_make --createorig -s
23dpkg-buildpackage -us -uc 23dpkg-buildpackage -us -uc
24``` 24```
25 25
26It's even easier to just build the binary:
27```
28apt install pkg-config build-essential make libtoxcore-dev git python3-jinja2 python3-requests
29git clone https://github.com/gjedeer/tuntox.git
30cd tuntox
31make
32```
33
26## MacOS build 34## MacOS build
27Basically the same as above but: 35Basically the same as above but:
28 36
diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
new file mode 100644
index 0000000..15388ec
--- /dev/null
+++ b/bitbucket-pipelines.yml
@@ -0,0 +1,20 @@
1image: debian:sid
2pipelines:
3 default:
4 - step:
5 name: Build deb
6 image: debian:sid
7 caches:
8 - apt
9 script:
10 - apt update
11 - apt -y install pkg-config build-essential make libtoxcore-dev dh-make python3-jinja2 python3-requests
12 - dh_make --createorig -s
13 - dpkg-buildpackage -us -uc
14 - ls -l ..
15
16
17definitions:
18 caches:
19 apt: /var/cache/apt
20