This commit is contained in:
OpportunityLiu
2020-03-31 19:00:51 +08:00
Unverified
parent b54ee46fac
commit 11d52ba768
+3 -5
View File
@@ -1,13 +1,14 @@
name: test name: test
on: on:
- push - push
jobs: jobs:
build: build:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macOS-latest] os: [ubuntu-latest, windows-latest, macOS-latest]
version: [latest, branch@master]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@@ -15,10 +16,7 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@master - uses: xmake-io/github-action-setup-xmake@master
with: with:
xmake-version: branch@master xmake-version: ${{ matrix.version }}
- uses: xmake-io/github-action-setup-xmake@master
with:
xmake-version: latest
- name: Run tests - name: Run tests
run: | run: |
xmake create -P test xmake create -P test