summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 3ed35cd6fac4d37d6780ce9e24ee2f2f1a9f402d (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 }}-latest
    strategy:
      fail-fast: false
      matrix:
        os: [windows, ubuntu, macos]
    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-8 -gxx g++-8
    - uses: actions/upload-artifact@v1.0.0
      with:
        name: lua-language-server
        path: bin