mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-04 21:07:57 +08:00
31 lines
713 B
YAML
31 lines
713 B
YAML
|
name: ubuntu-aarch64-build
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
os: [ubuntu-latest]
|
||
|
cross: [aarch64-linux-musl]
|
||
|
|
||
|
concurrency:
|
||
|
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cross-Musl-${{ matrix.cross }}
|
||
|
cancel-in-progress: true
|
||
|
|
||
|
steps:
|
||
|
- uses: xmake-io/github-action-setup-xmake@v1
|
||
|
- name: checkout
|
||
|
run: |
|
||
|
git clone https://github.com/fasiondog/hikyuu.git --recursive --depth 1
|
||
|
|
||
|
- name: build
|
||
|
run: |
|
||
|
sudo apt-get install -y libsqlite3-dev
|
||
|
cd ./hikyuu
|
||
|
xmake f -y
|
||
|
xmake -b small-test
|
||
|
xmake r small-test
|