update workflow in github
[liba.git] / .github / workflows / xmake.yml
bloba4bb7e923c13f5b49e989d1e23ca48993b1bc54c
1 name: xmake
2 on:
3   workflow_dispatch:
4 jobs:
5   xmake:
6     strategy:
7       fail-fast: false
8       matrix:
9         os: [ windows-latest, ubuntu-latest, macos-latest ]
10     runs-on: ${{ matrix.os }}
11     steps:
12       - uses: xmake-io/github-action-setup-xmake@v1
13         with:
14           xmake-version: latest
15       - uses: actions/checkout@v4
16         with:
17           lfs: true
18           submodules: true
19       - name: Run xmake
20         run: xmake f -yvDc -m check --warning=y --liba-rust=y --liba-lua=luajit
21       - run: xmake -vw --all
22       - run: xmake i -vD -o_
23       - run: xmake run --all
24       - name: Run cargo
25         run: cargo test --all-features