aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2022-03-31 15:16:56 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2022-03-31 15:16:56 +0200
commita287b6cc170fd694336f5472a962589ee312e09c (patch)
tree458513bd6e06f4bf9015774166e4ec995573849a
parent7b44242c4fcb981fe8d08ad0a03d7033731700bc (diff)
downloadlite-xl-a287b6cc170fd694336f5472a962589ee312e09c.tar.gz
lite-xl-a287b6cc170fd694336f5472a962589ee312e09c.zip
Add build job for sourcehut
-rw-r--r--scripts/lite-xl-ubuntu-build.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/lite-xl-ubuntu-build.yml b/scripts/lite-xl-ubuntu-build.yml
new file mode 100644
index 00000000..5cd5dce4
--- /dev/null
+++ b/scripts/lite-xl-ubuntu-build.yml
@@ -0,0 +1,26 @@
+image: ubuntu/18.04
+packages:
+ [python3, python3-pip, pkg-config, ninja-build, libx11-dev, libxext-dev, zip, unzip, gcc, g++]
+sources:
+ - https://git.sr.ht/~franko/lite-xl
+shell: true
+tasks:
+ - enable-local: |
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> "$HOME/.buildenv"
+ - prepare-setup: |
+ pip3 install --user meson
+ - lhelper-install: |
+ git clone https://github.com/franko/lhelper
+ cd lhelper
+ bash install "$HOME/.local"
+ - lhelper-create-env: |
+ lhelper create lite-xl -n
+ source "$(lhelper env-source lite-xl)"
+ lhelper install sdl2
+ lhelper install freetype2
+ lhelper install pcre2
+ - build: |
+ cd lite-xl
+ git checkout master-2.0
+ source "$(lhelper env-source lite-xl)"
+ bash build-packages.sh