summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 8fac3fbfc2695f9de69f366b6c2def8b19446626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: build
on: push
jobs:
  compile:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [windows-latest, ubuntu-16.04, macos-latest]
    steps:
    - uses: actions/checkout@v1
      with:
        ref: refs/heads/master
        submodules : recursive
    - uses: actboy168/setup-luamake@master
    - if: runner.os != 'Linux'
      run: luamake
    - if: runner.os == 'Linux'
      run: luamake -gcc gcc-9 -gxx g++-9
    - uses: actions/upload-artifact@v1.0.0
      with:
        name: lua-language-server
        path: bin