blob: 585e9e4043310f64c45c095bac0e2cab27b96b76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
on:
push:
branches:
- master
jobs:
windows:
name: build in windows
runs-on: windows-latest
steps:
- name: Init
run: |
git submodule update --init --recursive
- name: Compile luamake
run: |
cd 3rd\luamake
tools\ninja.exe -f ninja\msvc.ninja
cd ..\..
- name: Compile
run: |
3rd\luamake\luamake.exe rebuild
- name: Publish
run: |
server\bin\lua-language-server.exe server\publish.lua
macos:
name: build in macos
runs-on: macos-latest
steps:
- name: Init
run: |
git submodule update --init --recursive
- name: Install
run: |
sudo xcode-select -s /Applications/Xcode_10.2.app
brew install ninja
- name: Compile luamake
run: |
cd 3rd/luamake
ninja -f ninja/macos.ninja
cd ../..
- name: Compile
run: |
./3rd/luamake/luamake rebuild
- name: Publish
run: |
server/bin/lua-language-server server/publish.lua
linux:
name: build in linux
runs-on: ubuntu-latest
steps:
- name: Init
run: |
git submodule update --init --recursive
- name: Install
run: |
sudo apt-get install -y libreadline-dev ninja-build
- name: Compile luamake
run: |
cd 3rd/luamake
ninja -f ninja/linux.ninja
cd ../..
- name: Compile
run: |
./3rd/luamake/luamake rebuild
- name: Publish
run: |
server/bin/lua-language-server server/publish.lua
|