summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: f5a5898af2ab83fd32c81a3b86160e4d82bc19e6 (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
name: build
on: push
jobs:
  compile:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [windows-latest, ubuntu-18.04, macos-latest]
    steps:
    - uses: actions/checkout@v1
      with:
        ref: refs/heads/master
        submodules : recursive
    - uses: actboy168/setup-luamake@master
    - run: luamake
    - uses: actions/upload-artifact@v2
      with:
        name: lua-language-server
        path: |
          bin
          !bin/**/*.lib
          !bin/**/*.exp
  resource:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
      with:
        ref: refs/heads/master
        submodules : recursive
    - uses: actions/upload-artifact@v2
      with:
        name: lua-language-server
        path: |
          main.lua
          debugger.lua
          locale
          meta
          script