summaryrefslogtreecommitdiff
path: root/.github/workflows/linux_lua.yml
blob: 97d45f2a0344ec6ab34cde852156b18196deefb1 (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
name: Linux (Lua)

on:
  pull_request:
  push:
  release:
    types: [published]

jobs:
  build:
    runs-on: ubuntu-latest
    concurrency:
        group: ${{ github.head_ref }}-Linux-Lua
        cancel-in-progress: true
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: true
      - uses: dlang-community/setup-dlang@v1
        with:
          compiler: dmd-latest
      - uses: little-core-labs/[email protected]
        id: tagName

      - name: Installation
        run: |
          make -j6 BACKEND=lua
          make install
          xmake --version

      - name: Tests
        run: |
          xmake lua -v -D tests/run.lua
          xrepo --version