summaryrefslogtreecommitdiff
path: root/.github/workflows/linux_lua.yml
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-18 12:14:32 +0800
committerruki <[email protected]>2021-09-18 12:14:32 +0800
commitd4f485a8d92f5cc89487a0b3670e0b116704b5bf (patch)
treea2323a44f4c6e6512cf735f854239139fcdeb3ac /.github/workflows/linux_lua.yml
parente6142baeb6b089b3413755d4a3a9e4607cb829f1 (diff)
add lua ci
Diffstat (limited to '.github/workflows/linux_lua.yml')
-rw-r--r--.github/workflows/linux_lua.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/linux_lua.yml b/.github/workflows/linux_lua.yml
new file mode 100644
index 000000000..97d45f2a0
--- /dev/null
+++ b/.github/workflows/linux_lua.yml
@@ -0,0 +1,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
+