28 lines
472 B
YAML
28 lines
472 B
YAML
name: test
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
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@${{ github.sha }}
|
|
with:
|
|
xmake-version: latest
|
|
- name: Run tests
|
|
run: |
|
|
xmake create -P test
|
|
xmake build -P test
|
|
xmake run -P test
|