fix test
This commit is contained in:
+13
-15
@@ -1,26 +1,24 @@
|
|||||||
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 }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- 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
|
- name: Run tests
|
||||||
with:
|
run: |
|
||||||
xmake-version: latest
|
xmake create -P test
|
||||||
- name: Run tests
|
xmake build -P test
|
||||||
run: |
|
xmake run -P test
|
||||||
xmake create -P test
|
|
||||||
xmake build -P test
|
|
||||||
xmake run -P test
|
|
||||||
|
|||||||
Reference in New Issue
Block a user