summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: eaf0dbd9e6771ffa3b5b82f074d90d3958e3dec8 (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
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
          changelog.md
          locale
          meta
          script