b126f6b6d1
fix ci remove unused import fix releases
26 lines
528 B
YAML
26 lines
528 B
YAML
name: test
|
|
|
|
on:
|
|
- push
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
version: [latest, branch@master, branch@dev]
|
|
|
|
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 --version
|
|
xmake create -P test
|
|
xmake build -P test
|
|
xmake run -P test
|