aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-05-19 20:28:56 +0900
committerHirokazu Hata <h.hata.ai.t@gmail.com>2020-05-21 17:03:19 +0900
commit67126dd98f1fe2a9830932b9ab56ad754f64052c (patch)
tree2f1e895a3ca4cee2e7fdc1bcbbdc04981406ae76 /.github
parenttest: add test runner script (diff)
downloadnvim-lspconfig-67126dd98f1fe2a9830932b9ab56ad754f64052c.tar
nvim-lspconfig-67126dd98f1fe2a9830932b9ab56ad754f64052c.tar.gz
nvim-lspconfig-67126dd98f1fe2a9830932b9ab56ad754f64052c.tar.bz2
nvim-lspconfig-67126dd98f1fe2a9830932b9ab56ad754f64052c.tar.lz
nvim-lspconfig-67126dd98f1fe2a9830932b9ab56ad754f64052c.tar.xz
nvim-lspconfig-67126dd98f1fe2a9830932b9ab56ad754f64052c.tar.zst
nvim-lspconfig-67126dd98f1fe2a9830932b9ab56ad754f64052c.zip
github action: add test action
Diffstat (limited to '.github')
-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
+