summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-29 23:29:17 +0800
committerruki <[email protected]>2020-04-29 14:55:44 +0800
commitc78ca90c13be23c6650816144fc8739c4cf685b2 (patch)
tree7584031552428db800af76e5e1d1cb743e8d71fe /.github/workflows
parentf046445a06a09743d37e731c91918be2dc7f4c65 (diff)
add github action ci
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 000000000..300978feb
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,20 @@
+name: build
+
+on: [push]
+
+jobs:
+ build:
+ strategy:
+ matrix:
+ os: [ubuntu-latest, windows-latest, macOS-latest]
+
+ runs-on: ${{ matrix.os }}
+
+ steps:
+ - uses: actions/checkout@v1
+ - uses: xmake-io/github-action-setup-xmake@v1
+ with:
+ xmake-version: branch@${GITHUB_REF##*/}
+ - name: tests
+ run: |
+ xmake lua -v -D tests/run.lua