hikyuu2/.github/workflows/ubuntu_aarch64.yml
2023-09-15 01:16:47 +08:00

37 lines
775 B
YAML

name: ubuntu-aarch64-build
on:
push:
branches:
- master
pull_request:
branches:
- master
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