add github ci

pull/49/head
ruki 5 years ago
parent 1163bc1a3a
commit e0888b612a
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 24
      .github/workflows/linux.yml
  2. 23
      .github/workflows/macos.yml
  3. 23
      .github/workflows/windows.yml

@ -0,0 +1,24 @@
name: Linux
on:
pull_request:
push:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
- name: tests
run: |
xmake l ./scripts/test.lua -D

@ -0,0 +1,23 @@
name: macOS
on:
pull_request:
push:
jobs:
build:
strategy:
matrix:
os: [macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
- name: tests
run: |
xmake l ./scripts/test.lua -D

@ -0,0 +1,23 @@
name: Windows
on:
pull_request:
push:
jobs:
build:
strategy:
matrix:
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
- name: tests
run: |
xmake l ./scripts/test.lua -D
Loading…
Cancel
Save