summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2024-02-22 20:29:13 +0800
committerCppCXY <812125110@qq.com>2024-02-22 20:29:13 +0800
commit9b6df71d97a70ee7179949ef9f15368cbf29dcbd (patch)
treebf7a7e62ed7c164a12bdce437c17262a5235bcec /.github
parent483fe246b6ae8c25d433aa15e43f04f0e71a74d5 (diff)
parent3e6fd3ce1f2f0528336ded939d776a29bbfaf2eb (diff)
downloadlua-language-server-9b6df71d97a70ee7179949ef9f15368cbf29dcbd.zip
Merge branch 'master' of github.com:CppCXY/lua-language-server
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug-report.yml2
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--.github/workflows/test.yml18
3 files changed, 20 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index 9652d3cf..8eb237d3 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -88,7 +88,7 @@ body:
label: Log File
description: >
Please provide your log file. Refer to the wiki to find your log file:
- https://github.com/LuaLS/lua-language-server/wiki/FAQ#where-can-i-find-the-log-file
+ https://luals.github.io/wiki/faq#where-can-i-find-the-log-file
- type: markdown
attributes:
value: |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c1dbfe2e..66640e50 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,7 +60,7 @@ jobs:
if: ${{ matrix.target == 'linux' && matrix.libc == 'musl' }}
run: |
apk update
- apk add git ninja bash build-base nodejs
+ apk add git ninja bash build-base nodejs linux-headers
- uses: actions/checkout@v3
with:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 00000000..7414d190
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,18 @@
+name: test
+on: [ push, pull_request ]
+jobs:
+ test:
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - { os: ubuntu-20.04, platform: linux-x64 }
+ - { os: macos-latest, platform: darwin-x64 }
+ - { os: windows-latest, platform: win32-x64 }
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ submodules: recursive
+ - uses: actboy168/setup-luamake@master
+ - run: luamake -platform ${{ matrix.platform }}