Files
github-action-setup-xmake/.github/workflows/test.yml
T
OpportunityLiu 11d52ba768 fix test
2020-03-31 19:00:51 +08:00

25 lines
490 B
YAML

name: test
on:
- push
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
version: [latest, branch@master]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@master
with:
xmake-version: ${{ matrix.version }}
- name: Run tests
run: |
xmake create -P test
xmake build -P test
xmake run -P test