From c78ca90c13be23c6650816144fc8739c4cf685b2 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 29 Apr 2020 23:29:17 +0800 Subject: add github action ci --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml 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 -- cgit v1.3.1