summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 7ae916ce5748ad977c60a1a6a8d7ef3f1c7d7580 (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 -cc gcc-9
    - uses: actions/upload-artifact@v1.0.0
      with:
        name: lua-language-server
        path: bin