From 76fa3f72bed36f1871a94a835647e761a39b974a Mon Sep 17 00:00:00 2001 From: Opportunity Date: Sat, 12 Oct 2019 12:05:17 +0800 Subject: [PATCH] Add test --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c6f4d88 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test + +on: +- push + +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@master + with: + xmake-version: latest + - name: test + run: | + xmake create -P test + xmake build -P test + xmake run -P test