mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 03:48:19 +08:00
37 lines
775 B
YAML
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
|