aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 00000000..31bcef39
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,41 @@
+name: test
+
+on:
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ test:
+ runs-on: [ubuntu-latest]
+ steps:
+ - name: Checkout sources
+ uses: actions/checkout@v2
+ - name: Setup build dependencies
+ run: |
+ sudo apt update &&
+ sudo apt install -y ninja-build \
+ gettext \
+ libtool \
+ libtool-bin \
+ autoconf \
+ automake \
+ cmake \
+ g++ \
+ pkg-config \
+ unzip \
+ gperf \
+ libluajit-5.1-dev \
+ libunibilium-dev \
+ libmsgpack-dev \
+ libtermkey-dev \
+ libvterm-dev \
+ libjemalloc-dev \
+ lua5.1 \
+ lua-lpeg \
+ lua-mpack \
+ lua-bitop
+ - name: Run test with building Nvim
+ run: |
+ make test
+